Skip to content

Commit 153bf32

Browse files
authored
Do not expose redis or payjoin directory ports in docker compose (payjoin#634)
All redis traffic is routed through the internal docker network and not exposed to the host environment
2 parents 54379b1 + 2d74051 commit 153bf32

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

payjoin-directory/docker-compose.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,25 +29,20 @@ services:
2929
RUST_LOG: "trace"
3030
PJ_DB_HOST: "redis:6379"
3131
PJ_DIR_PORT: "8080"
32-
ports:
33-
- "8080:8080"
3432
depends_on:
3533
- redis
3634
networks:
3735
- payjoin-network
3836

3937
redis:
4038
image: redis:latest
41-
ports:
42-
- "6379:6379"
4339
volumes:
4440
- redis-data:/data
4541
networks:
4642
- payjoin-network
4743

4844
networks:
4945
payjoin-network:
50-
driver: bridge
5146

5247
volumes:
5348
redis-data:

0 commit comments

Comments
 (0)