mirror of
https://github.com/netbox-community/netbox-docker.git
synced 2024-11-23 08:23:16 +01:00
b46bd58e0a
With this the configuration is moved to /etc/netbox/config and the default reports directory is set to /etc/netbox/reports. This enables the user to mount reports from a config map or persistent volume in OpenShift.
25 lines
495 B
YAML
25 lines
495 B
YAML
version: '3'
|
|
services:
|
|
app:
|
|
build:
|
|
context: .
|
|
args:
|
|
- BRANCH=${BRANCH-master}
|
|
image: ninech/netbox:${BRANCH-latest}
|
|
depends_on:
|
|
- postgres
|
|
env_file: netbox.env
|
|
volumes:
|
|
- ./configuration:/etc/netbox/config:ro
|
|
command:
|
|
- ./manage.py
|
|
- test
|
|
postgres:
|
|
image: postgres:10.2-alpine
|
|
env_file: postgres.env
|
|
volumes:
|
|
netbox-static-files:
|
|
driver: local
|
|
netbox-nginx-config:
|
|
driver: local
|