mirror of
https://github.com/netbox-community/netbox-docker.git
synced 2024-11-28 19:03:43 +01:00
Moving env files into separate directory for better organization
This commit is contained in:
parent
968bb9f10f
commit
d8285b05f2
@ -10,7 +10,7 @@ services:
|
||||
- postgres
|
||||
- redis
|
||||
- netbox-worker
|
||||
env_file: netbox.env
|
||||
env_file: env/netbox.env
|
||||
volumes:
|
||||
- ./startup_scripts:/opt/netbox/startup_scripts:ro
|
||||
- ./initializers:/opt/netbox/initializers:ro
|
||||
@ -40,7 +40,7 @@ services:
|
||||
- netbox-nginx-config:/etc/netbox-nginx/:ro
|
||||
postgres:
|
||||
image: postgres:10.4-alpine
|
||||
env_file: postgres.env
|
||||
env_file: env/postgres.env
|
||||
volumes:
|
||||
- netbox-postgres-data:/var/lib/postgresql/data
|
||||
redis:
|
||||
@ -49,7 +49,7 @@ services:
|
||||
- sh
|
||||
- -c # this is to evaluate the $REDIS_PASSWORD from the env
|
||||
- redis-server --appendonly yes --requirepass $$REDIS_PASSWORD ## $$ because of docker-compose
|
||||
env_file: redis.env
|
||||
env_file: env/redis.env
|
||||
volumes:
|
||||
- netbox-redis-data:/data
|
||||
volumes:
|
||||
|
0
netbox.env → env/netbox.env
vendored
0
netbox.env → env/netbox.env
vendored
0
postgres.env → env/postgres.env
vendored
0
postgres.env → env/postgres.env
vendored
0
redis.env → env/redis.env
vendored
0
redis.env → env/redis.env
vendored
Loading…
Reference in New Issue
Block a user