multidb
This commit is contained in:
+2
-1
@@ -27,8 +27,9 @@ services:
|
||||
POSTGRES_DB: ${POSTGRES_DB:-rustpad}
|
||||
POSTGRES_USER: ${POSTGRES_USER:-rustpad}
|
||||
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-rustpad}
|
||||
PGDATA: /var/lib/postgresql
|
||||
volumes:
|
||||
- ./data/db/pgsql:/var/lib/postgresql/data
|
||||
- ./data/db/pgsql:/var/lib/postgresql
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "pg_isready -U ${POSTGRES_USER:-rustpad} -d ${POSTGRES_DB:-rustpad}"]
|
||||
interval: 5s
|
||||
|
||||
Reference in New Issue
Block a user