mirror of
https://github.com/ZettaIO/restic-compose-backup.git
synced 2025-10-09 03:40:58 +00:00
Simple swarm stack
This commit is contained in:
17
swarm-stack.yml
Normal file
17
swarm-stack.yml
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
version: '3.7'
|
||||||
|
|
||||||
|
services:
|
||||||
|
mariadb:
|
||||||
|
image: mariadb:10
|
||||||
|
labels:
|
||||||
|
restic-compose-backup.mariadb: "true"
|
||||||
|
environment:
|
||||||
|
- MYSQL_ROOT_PASSWORD=my-secret-pw
|
||||||
|
- MYSQL_DATABASE=mydb
|
||||||
|
- MYSQL_USER=myuser
|
||||||
|
- MYSQL_PASSWORD=mypassword
|
||||||
|
volumes:
|
||||||
|
- mariadbdata:/var/lib/mysql
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
mariadbdata:
|
Reference in New Issue
Block a user