mirror of
https://github.com/ZettaIO/restic-compose-backup.git
synced 2026-11-17 10:35:40 +00:00
Add postgres test container
This commit is contained in:
1 parent
32a3218ac9
commit
ea1f2be4bc
1 file changed
+12
@@ -48,6 +48,18 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- mariadbdata:/var/lib/mysql
|
- 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:
|
volumes:
|
||||||
mysqldata:
|
mysqldata:
|
||||||
mariadbdata:
|
mariadbdata:
|
||||||
|
pgdata:
|
||||||
Reference in new issue
Block a user