update compose example
This commit is contained in:
parent
f092abb618
commit
38e5720e11
1 changed files with 3 additions and 3 deletions
|
@ -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:
|
||||||
|
|
Loading…
Add table
Reference in a new issue