Merge branch 'bdlamprecht-moving_env_files'
This commit is contained in:
commit
61414b7be7
|
@ -10,7 +10,7 @@ services:
|
||||||
- postgres
|
- postgres
|
||||||
- redis
|
- redis
|
||||||
- netbox-worker
|
- netbox-worker
|
||||||
env_file: netbox.env
|
env_file: env/netbox.env
|
||||||
volumes:
|
volumes:
|
||||||
- ./startup_scripts:/opt/netbox/startup_scripts:ro
|
- ./startup_scripts:/opt/netbox/startup_scripts:ro
|
||||||
- ./initializers:/opt/netbox/initializers:ro
|
- ./initializers:/opt/netbox/initializers:ro
|
||||||
|
@ -40,7 +40,7 @@ services:
|
||||||
- netbox-nginx-config:/etc/netbox-nginx/:ro
|
- netbox-nginx-config:/etc/netbox-nginx/:ro
|
||||||
postgres:
|
postgres:
|
||||||
image: postgres:10.4-alpine
|
image: postgres:10.4-alpine
|
||||||
env_file: postgres.env
|
env_file: env/postgres.env
|
||||||
volumes:
|
volumes:
|
||||||
- netbox-postgres-data:/var/lib/postgresql/data
|
- netbox-postgres-data:/var/lib/postgresql/data
|
||||||
redis:
|
redis:
|
||||||
|
@ -49,7 +49,7 @@ services:
|
||||||
- sh
|
- sh
|
||||||
- -c # this is to evaluate the $REDIS_PASSWORD from the env
|
- -c # this is to evaluate the $REDIS_PASSWORD from the env
|
||||||
- redis-server --appendonly yes --requirepass $$REDIS_PASSWORD ## $$ because of docker-compose
|
- redis-server --appendonly yes --requirepass $$REDIS_PASSWORD ## $$ because of docker-compose
|
||||||
env_file: redis.env
|
env_file: env/redis.env
|
||||||
volumes:
|
volumes:
|
||||||
- netbox-redis-data:/data
|
- netbox-redis-data:/data
|
||||||
volumes:
|
volumes:
|
||||||
|
|
Loading…
Reference in New Issue