Update local dev compose and stack setup

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

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