Bind DB and Redis to 127.0.0.1
This commit is contained in:
parent
e676c48458
commit
7bb28427d6
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue