Prepare for Netbox 2.7
This commit is contained in:
parent
40ef427336
commit
355f9d4cf7
5 changed files with 34 additions and 15 deletions
|
@ -5,6 +5,7 @@ services:
|
|||
depends_on:
|
||||
- postgres
|
||||
- redis
|
||||
- redis-cache
|
||||
- netbox-worker
|
||||
env_file: env/netbox.env
|
||||
user: '101'
|
||||
|
@ -50,6 +51,13 @@ services:
|
|||
env_file: env/redis.env
|
||||
volumes:
|
||||
- netbox-redis-data:/data
|
||||
redis-cache:
|
||||
image: redis:5-alpine
|
||||
command:
|
||||
- sh
|
||||
- -c # this is to evaluate the $REDIS_PASSWORD from the env
|
||||
- redis-server --requirepass $$REDIS_PASSWORD ## $$ because of docker-compose
|
||||
env_file: env/redis.env
|
||||
volumes:
|
||||
netbox-static-files:
|
||||
driver: local
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue