Skip to content

Commit cd07699

Browse files
committed
map ports to only localhost
1 parent b3b9712 commit cd07699

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

docker-compose.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,11 @@ services:
2424
- .env
2525

2626
ports:
27-
- "${ANALYTICS_SERVER_PORT:-9696}:${ANALYTICS_SERVER_PORT:-9696}"
28-
- "${SYNC_SERVER_PORT:-9697}:${SYNC_SERVER_PORT:-9697}"
29-
- "${PORT:-3333}:${PORT:-3333}"
30-
- "${DB_PORT:-5434}:${DB_PORT:-5434}"
31-
- "${REDIS_PORT:-6385}:${REDIS_PORT:-6385}"
27+
- "127.0.0.1:${ANALYTICS_SERVER_PORT:-9696}:${ANALYTICS_SERVER_PORT:-9696}"
28+
- "127.0.0.1:${SYNC_SERVER_PORT:-9697}:${SYNC_SERVER_PORT:-9697}"
29+
- "127.0.0.1:${PORT:-3333}:${PORT:-3333}"
30+
- "127.0.0.1:${DB_PORT:-5434}:${DB_PORT:-5434}"
31+
- "127.0.0.1:${REDIS_PORT:-6385}:${REDIS_PORT:-6385}"
3232

3333
extra_hosts:
3434
- "host.docker.internal:host-gateway"
@@ -80,4 +80,4 @@ services:
8080
- action: sync+restart
8181
path: ./setup_utils/
8282
target: /app/setup_utils
83-
83+

0 commit comments

Comments
 (0)