Merge pull request #26 from joshlemer/docker-compose-bind-localhost
Bind DB and Redis to 127.0.0.1
This commit is contained in:
commit
50ea32fe70
1 changed files with 2 additions and 2 deletions
|
|
@ -5,12 +5,12 @@ services:
|
||||||
image: "redis:alpine"
|
image: "redis:alpine"
|
||||||
container_name: pagoda_cache
|
container_name: pagoda_cache
|
||||||
ports:
|
ports:
|
||||||
- "6379:6379"
|
- "127.0.0.1:6379:6379"
|
||||||
db:
|
db:
|
||||||
image: postgres:alpine
|
image: postgres:alpine
|
||||||
container_name: pagoda_db
|
container_name: pagoda_db
|
||||||
ports:
|
ports:
|
||||||
- "5432:5432"
|
- "127.0.0.1:5432:5432"
|
||||||
environment:
|
environment:
|
||||||
- POSTGRES_USER=admin
|
- POSTGRES_USER=admin
|
||||||
- POSTGRES_PASSWORD=admin
|
- POSTGRES_PASSWORD=admin
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue