forked from mirror/netbox-docker
portainer is awful
This commit is contained in:
parent
47a99902d0
commit
9e89ba277c
@ -5,6 +5,9 @@ services:
|
||||
- netbox
|
||||
ports:
|
||||
- 8000:8080
|
||||
environment:
|
||||
DB_HOST: ${DB_HOST}
|
||||
DB_USER: ${DB_USER}
|
||||
configs:
|
||||
- source: configuration.py
|
||||
target: /etc/netbox/config/configuration.py
|
||||
@ -32,10 +35,18 @@ services:
|
||||
- netbox
|
||||
redis:
|
||||
restart: unless-stopped
|
||||
secrets:
|
||||
- redis-password
|
||||
environment:
|
||||
REDIS_PASSWORD: ${REDIS_PASSWORD}
|
||||
networks:
|
||||
- netbox
|
||||
redis-cache:
|
||||
restart: unless-stopped
|
||||
secrets:
|
||||
- redis-password
|
||||
environment:
|
||||
REDIS_PASSWORD: ${REDIS_PASSWORD}
|
||||
networks:
|
||||
- netbox
|
||||
|
||||
@ -48,6 +59,10 @@ secrets:
|
||||
external: true
|
||||
netbox.redis.pwd:
|
||||
external: true
|
||||
redis-password:
|
||||
name: netbox.redis.pwd
|
||||
external: true
|
||||
environment: "REDIS_PASSWORD"
|
||||
|
||||
networks:
|
||||
caddy:
|
||||
|
||||
2
env/netbox.env
vendored
2
env/netbox.env
vendored
@ -1,5 +1,5 @@
|
||||
CORS_ORIGIN_ALLOW_ALL=True
|
||||
DB_HOST=piggy.nopants.ctop.us
|
||||
DB_HOST=postgres
|
||||
DB_NAME=netbox
|
||||
DB_PASSWORD=J5brHrAXFLQSif0K
|
||||
DB_USER=netbox
|
||||
|
||||
Loading…
Reference in New Issue
Block a user