Update local dev compose and stack setup
This commit is contained in:
parent
1a100d73ab
commit
0bab85f5cf
|
@ -1,4 +1,4 @@
|
|||
version: '3'
|
||||
version: '3.7'
|
||||
services:
|
||||
backup:
|
||||
build: ./src
|
||||
|
@ -8,6 +8,9 @@ services:
|
|||
labels:
|
||||
restic-compose-backup.volumes: true
|
||||
restic-compose-backup.volumes.include: 'src'
|
||||
networks:
|
||||
- default
|
||||
- global
|
||||
volumes:
|
||||
# Map in docker socket
|
||||
- /var/run/docker.sock:/tmp/docker.sock:ro
|
||||
|
@ -68,3 +71,7 @@ volumes:
|
|||
mysqldata:
|
||||
mariadbdata:
|
||||
pgdata:
|
||||
|
||||
networks:
|
||||
global:
|
||||
external: true
|
||||
|
|
|
@ -10,8 +10,14 @@ services:
|
|||
- MYSQL_DATABASE=mydb
|
||||
- MYSQL_USER=myuser
|
||||
- MYSQL_PASSWORD=mypassword
|
||||
networks:
|
||||
- global
|
||||
volumes:
|
||||
- mariadbdata:/var/lib/mysql
|
||||
|
||||
volumes:
|
||||
mariadbdata:
|
||||
|
||||
networks:
|
||||
global:
|
||||
external: true
|
||||
|
|
Loading…
Reference in New Issue