Add postgres test container

This commit is contained in:
Einar Forselv 2019-12-03 01:40:30 +01:00
parent 32a3218ac9
commit ea1f2be4bc
1 changed files with 13 additions and 1 deletions

View File

@ -48,6 +48,18 @@ services:
volumes:
- mariadbdata:/var/lib/mysql
postgres:
image: postgres
labels:
restic-volume-backup.postgres: true
environment:
- POSTGRES_USER=pguser
- POSTGRES_PASSWORD=pgpassword
- POSTGRES_DB=test
volumes:
- pgdata:/var/lib/postgresql/data
volumes:
mysqldata:
mariadbdata:
mariadbdata:
pgdata: