Update local dev compose and stack setup

This commit is contained in:
Einar Forselv committed 2020-03-07 02:54:56 +01:00
1 parent 1a100d73ab
commit 0bab85f5cf
2 files changed
+14 -1

No files matched your search

+8 -1
View File
@@ -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
+6
View File
@@ -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