forked from netbox-community/netbox-docker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-composw.override.yml
74 lines (71 loc) · 2.28 KB
/
docker-composw.override.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
---
# 2023.11.19 - Creating/testing
# Arentas
version: '3.4'
services:
netbox:
ports:
- "8008:8080"
# If you want the Nginx unit status page visible from the
# outside of the container add the following port mapping:
# - "8001:8081"
env_file: stack.env
healthcheck:
# Time for which the health check can fail after the container is started.
# This depends mostly on the performance of your database. On the first start,
# when all tables need to be created the start_period should be higher than on
# subsequent starts. For the first start after major version upgrades of NetBox
# the start_period might also need to be set higher.
# Default value in our docker-compose.yml is 60s
start_period: 90s
#environment:
# SKIP_SUPERUSER: "false"
# SUPERUSER_API_TOKEN: ""
# SUPERUSER_EMAIL: ""
# SUPERUSER_NAME: ""
# SUPERUSER_PASSWORD: ""
volumes:
- /mnt/lvol-docker/AppData/netbox/etc/config:/etc/netbox/config:z,ro
- netbox-media-files:/opt/netbox/netbox/media:rw
- netbox-reports-files:/opt/netbox/netbox/reports:rw
- netbox-scripts-files:/opt/netbox/netbox/scripts:rw
netbox-worker:
volumes:
- /mnt/lvol-docker/AppData/netbox/etc/config:/etc/netbox/config:z,ro
- netbox-media-files:/opt/netbox/netbox/media:rw
- netbox-reports-files:/opt/netbox/netbox/reports:rw
- netbox-scripts-files:/opt/netbox/netbox/scripts:rw
netbox-housekeeping:
volumes:
- /mnt/lvol-docker/AppData/netbox/etc/config:/etc/netbox/config:z,ro
- netbox-media-files:/opt/netbox/netbox/media:rw
- netbox-reports-files:/opt/netbox/netbox/reports:rw
- netbox-scripts-files:/opt/netbox/netbox/scripts:rw
# postgres
postgres:
env_file: stack.env
# redis
redis:
env_file: stack.env
# redis-cache
redis-cache:
env_file: stack.env
volumes:
netbox-media-files:
name: netbox-media-files
driver: local
netbox-postgres-data:
name: netbox-postgres-data
driver: local
netbox-redis-cache-data:
name: netbox-redis-cache-data
driver: local
netbox-redis-data:
name: netbox-redis-data
driver: local
netbox-reports-files:
name: netbox-reports-files
driver: local
netbox-scripts-files:
name: netbox-scripts-files
driver: local