Skip to content

Commit 022559e

Browse files
fix: add extra_hosts for Linux Docker Engine compatibility
1 parent a8b5af9 commit 022559e

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

docker-compose.local-email.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ services:
3030
container_name: constructive-admin-server
3131
image: constructive:dev
3232
entrypoint: ["constructive", "server", "--host", "0.0.0.0", "--port", "3000", "--origin", "*"]
33+
extra_hosts:
34+
- "host.docker.internal:host-gateway"
3335
environment:
3436
NODE_ENV: development
3537
PORT: "3000"
@@ -92,6 +94,8 @@ services:
9294
entrypoint: ["node", "jobs/knative-job-service/dist/run.js"]
9395
depends_on:
9496
- send-email-link
97+
extra_hosts:
98+
- "host.docker.internal:host-gateway"
9599
environment:
96100
NODE_ENV: development
97101
# Postgres - use host.docker.internal to connect to local postgres

0 commit comments

Comments
 (0)