mirror of
https://github.com/ZettaIO/restic-compose-backup.git
synced 2025-12-15 18:21:08 +00:00
update compose example
This commit is contained in:
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user