From ea1f2be4bcb676cbcc4594e3f67e44a4539a7663 Mon Sep 17 00:00:00 2001 From: Einar Forselv Date: Tue, 3 Dec 2019 01:40:30 +0100 Subject: [PATCH] Add postgres test container --- docker-compose.yaml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/docker-compose.yaml b/docker-compose.yaml index 15b8040..e9d7404 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -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: \ No newline at end of file + mariadbdata: + pgdata: