forked from mirror/netbox-docker
46 lines
776 B
YAML
46 lines
776 B
YAML
services:
|
|
netbox:
|
|
networks:
|
|
- caddy
|
|
- netbox
|
|
ports:
|
|
- 8000:8080
|
|
secrets:
|
|
- source: netbox.superuser.pwd
|
|
target: superuser_password
|
|
- source: netbox.db.pwd
|
|
target: db_password
|
|
- source: netbox.secretkey
|
|
target: secret_key
|
|
|
|
netbox-worker:
|
|
restart: unless-stopped
|
|
networks:
|
|
- netbox
|
|
netbox-housekeeping:
|
|
restart: unless-stopped
|
|
networks:
|
|
- netbox
|
|
redis:
|
|
restart: unless-stopped
|
|
networks:
|
|
- netbox
|
|
redis-cache:
|
|
restart: unless-stopped
|
|
networks:
|
|
- netbox
|
|
|
|
secrets:
|
|
netbox.superuser.pwd:
|
|
external: true
|
|
netbox.db.pwd:
|
|
external: true
|
|
netbox.secretkey:
|
|
external: true
|
|
|
|
networks:
|
|
caddy:
|
|
external: true
|
|
netbox:
|
|
|