Bind DB and Redis to 127.0.0.1

This commit is contained in:
Josh Lemer 2023-01-25 14:49:13 -08:00
parent 859925bc45
commit 96799be6ec

View File

@ -5,12 +5,12 @@ services:
image: "redis:alpine"
container_name: pagoda_cache
ports:
- "6379:6379"
- "127.0.0.1:6379:6379"
db:
image: postgres:alpine
container_name: pagoda_db
ports:
- "5432:5432"
- "127.0.0.1:5432:5432"
environment:
- POSTGRES_USER=admin
- POSTGRES_PASSWORD=admin