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: