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