Fix docker compose setup exposing ports to outside world by default

This commit is contained in:
caryoscelus 2023-11-19 17:26:33 +00:00
parent 92eb6c8ca1
commit 1945f5a0b7

View file

@ -28,13 +28,14 @@ services:
- ./data:/home/service-0net/data - ./data:/home/service-0net/data
ports: ports:
- "26552:26552" - "26552:26552"
- "43110:43110" - "127.0.0.1:43110:43110"
depends_on: depends_on:
- tor - tor
environment: environment:
TOR_ENABLED: enable TOR_ENABLED: enable
<<: *tor-environments <<: *tor-environments
# integrated container with tor
0net-tor: 0net-tor:
tty: true tty: true
stdin_open: true stdin_open: true
@ -48,7 +49,7 @@ services:
- ./data:/home/service-0net/data - ./data:/home/service-0net/data
ports: ports:
- "26552:26552" - "26552:26552"
- "43110:43110" - "127.0.0.1:43110:43110"
networks: networks:
0net-network: 0net-network: