Skip to content

Commit 0ec5334

Browse files
committed
docs: additional comments in management_compose about storage config
1 parent 6cb2a0d commit 0ec5334

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

install/management_compose.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ services:
1818
ports:
1919
- "8080:8080"
2020
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!
2222
- /var/run/docker.sock:/var/run/docker.sock # Allows the admin service to communicate with the Host's Docker daemon
2323
- nomad-update-shared:/app/update-shared # Shared volume for update communication
2424
environment:
@@ -76,7 +76,7 @@ services:
7676
# Needs to match DB_PASSWORD in the admin service!
7777
- MYSQL_PASSWORD=replaceme
7878
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.
8080
healthcheck:
8181
test: ["CMD", "mysqladmin", "ping", "-h", "localhost"]
8282
interval: 30s
@@ -87,7 +87,7 @@ services:
8787
container_name: nomad_redis
8888
restart: unless-stopped
8989
volumes:
90-
- /opt/project-nomad/redis:/data
90+
- /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.
9191
healthcheck:
9292
test: ["CMD", "redis-cli", "ping"]
9393
interval: 30s
@@ -101,7 +101,7 @@ services:
101101
restart: unless-stopped
102102
volumes:
103103
- /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
105105
- nomad-update-shared:/shared # Shared volume for communication with admin container
106106
disk-collector:
107107
# 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

Comments
 (0)