update compose example

This commit is contained in:
C.J. May 2025-01-08 13:19:56 -06:00 committed by GitHub
parent f092abb618
commit 38e5720e11
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -68,9 +68,9 @@ services:
env_file: env_file:
- restic-backup.env - restic-backup.env
volumes: volumes:
# We need to communicate with docker # Communicate with docker to read backup tags
- /var/run/docker.sock:/tmp/docker.sock:ro - /var/run/docker.sock:/tmp/docker.sock:ro
# Persistent storage of restic cache (greatly speeds up all restic operations) # Persistent restic cache (greatly speeds up all restic operations)
- cache:/cache - cache:/cache
web: web:
image: some_image image: some_image
@ -88,7 +88,7 @@ services:
env_file: env_file:
mariadb-credentials.env mariadb-credentials.env
volumes: volumes:
- mysqldata:/var/lib/mysql - mariadbdata:/var/lib/mysql
mysql: mysql:
image: mysql:5 image: mysql:5
labels: labels: