Secure docker containers to local network

This commit is contained in:
Ajay Ramachandran 2021-03-07 00:37:47 -05:00
parent 8729796e87
commit eacd9cb6e8

View file

@ -8,7 +8,7 @@ services:
volumes:
- database-data:/var/lib/postgresql/data
ports:
- 5432:5432
- 127.0.0.1:5432:5432
redis:
container_name: redis
image: redis
@ -16,7 +16,7 @@ services:
volumes:
- ./redis/redis.conf:/usr/local/etc/redis/redis.conf
ports:
- 32773:6379
- 127.0.0.1:32773:6379
volumes:
database-data: