Merge pull request #26 from joshlemer/docker-compose-bind-localhost

Bind DB and Redis to 127.0.0.1
This commit is contained in:
Mike Stefanello 2023-02-05 13:05:48 -05:00 committed by GitHub
commit 4f776b76b3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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