Skip to content

Commit f6d38aa

Browse files
committed
Don't expose Redis or dir ports in Docker Compose
All redis and payjoin directory traffic can be routed through the internal docker network and doesn't need to be exposed to the host enviorment.
1 parent 54379b1 commit f6d38aa

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

payjoin-directory/docker-compose.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,17 +29,13 @@ 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:

0 commit comments

Comments
 (0)