bind only to local ports

This commit is contained in:
lza_menace 2021-05-17 12:50:50 -07:00
parent cf20b46d7d
commit 91ff0f8796

View file

@ -7,7 +7,7 @@ services:
container_name: wowstash_db container_name: wowstash_db
restart: unless-stopped restart: unless-stopped
ports: ports:
- 5432:5432 - - 127.0.0.1:5432:5432
environment: environment:
POSTGRES_PASSWORD: ${DB_PASS} POSTGRES_PASSWORD: ${DB_PASS}
POSTGRES_USER: ${DB_USER} POSTGRES_USER: ${DB_USER}
@ -18,7 +18,7 @@ services:
image: redis:latest image: redis:latest
container_name: wowstash_cache container_name: wowstash_cache
ports: ports:
- 6379:6379 - - 127.0.0.1:6379:6379
grafana: grafana:
image: grafana/grafana:6.5.0 image: grafana/grafana:6.5.0
container_name: wowstash_ops container_name: wowstash_ops