You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: install/management_compose.yaml
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,7 @@ services:
18
18
ports:
19
19
- "8080:8080"
20
20
volumes:
21
-
- /opt/project-nomad/storage:/app/storage
21
+
- /opt/project-nomad/storage:/app/storage# If you change the default storage path (/opt/project-nomad/storage), make sure to update the disk-collector config as well!
22
22
- /var/run/docker.sock:/var/run/docker.sock # Allows the admin service to communicate with the Host's Docker daemon
23
23
- nomad-update-shared:/app/update-shared # Shared volume for update communication
24
24
environment:
@@ -76,7 +76,7 @@ services:
76
76
# Needs to match DB_PASSWORD in the admin service!
77
77
- MYSQL_PASSWORD=replaceme
78
78
volumes:
79
-
- /opt/project-nomad/mysql:/var/lib/mysql
79
+
- /opt/project-nomad/mysql:/var/lib/mysql# Persist MySQL data on the host. This path can be changed if needed, just make sure it's writable by the container. Host persistence is important for the database to ensure your data isn't lost when the container is removed or updated.
- /opt/project-nomad/redis:/data# Persist Redis data on the host. This path can be changed if needed, just make sure it's writable by the container. Host persistence is important for Redis to ensure your data isn't lost when the container is removed or updated.
91
91
healthcheck:
92
92
test: ["CMD", "redis-cli", "ping"]
93
93
interval: 30s
@@ -101,7 +101,7 @@ services:
101
101
restart: unless-stopped
102
102
volumes:
103
103
- /var/run/docker.sock:/var/run/docker.sock # Allows communication with the Host's Docker daemon
104
-
- /opt/project-nomad:/opt/project-nomad # Writable access required so the updater can set the correct image tag in compose.yml
104
+
- /opt/project-nomad:/opt/project-nomad # Writable access required so the updater can set the correct image tag in compose.yml. This needs to be the same location that the compose file is located at on the host for the updater to work correctly
105
105
- nomad-update-shared:/shared # Shared volume for communication with admin container
106
106
disk-collector:
107
107
# Disk Collector is a lightweight privileged container that collects disk usage information from the host system and shares it with the admin container so it can be displayed in the UI.
0 commit comments