services: netbox: networks: - caddy - netbox ports: - 8000:8080 configs: - source: configuration.py target: /etc/netbox/config/configuration.py - source: ldap_config.py target: /etc/netbox/config/ldap/ldap_config.py secrets: - source: netbox.superuser.pwd target: superuser_password - source: netbox.db.pwd target: db_password - source: netbox.secretkey target: secret_key - source: netbox.redis.pwd target: redis_password - source: netbox.redis.pwd target: redis_cache_password 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 netbox.redis.pwd: external: true networks: caddy: external: true netbox: configs: configuration.py: external: true name: netbox-configuration.py-v0 ldap_config.py: external: true name: netbox-ldap_config.py-v0