Tweak docker-compose to avoid collisions

This commit is contained in:
Marco Ceppi 2019-11-21 06:48:51 -05:00
parent ee79407981
commit 58ae0f317d

View File

@ -16,6 +16,8 @@ services:
- "./docker/nginx.conf:/etc/nginx/nginx.conf" - "./docker/nginx.conf:/etc/nginx/nginx.conf"
ports: ports:
- 8000:80 - 8000:80
depends_on:
- netbox
netbox: netbox:
image: "vaporio/netbox:develop" image: "vaporio/netbox:develop"
environment: environment:
@ -25,6 +27,7 @@ services:
DB_PASSWORD: "12345" DB_PASSWORD: "12345"
ALLOWED_HOSTS: "*" ALLOWED_HOSTS: "*"
REDIS_HOST: redis REDIS_HOST: redis
SKIP_STARTUP_SCRIPTS: "true"
depends_on: depends_on:
- redis - redis
- postgres - postgres