mirror of
https://github.com/trufflesecurity/xsshunter
synced 2024-11-10 06:44:13 +00:00
local pgdata
This commit is contained in:
parent
7fc28b13a3
commit
f75b7fc929
1 changed files with 3 additions and 0 deletions
|
@ -18,6 +18,7 @@ services:
|
||||||
restart: always
|
restart: always
|
||||||
user: postgres
|
user: postgres
|
||||||
environment:
|
environment:
|
||||||
|
PGDATA: /var/lib/postgresql/data/pgdata
|
||||||
POSTGRES_PASSWORD: postgres
|
POSTGRES_PASSWORD: postgres
|
||||||
POSTGRES_HOST_AUTH_METHOD: trust
|
POSTGRES_HOST_AUTH_METHOD: trust
|
||||||
healthcheck:
|
healthcheck:
|
||||||
|
@ -25,3 +26,5 @@ services:
|
||||||
interval: 3s
|
interval: 3s
|
||||||
timeout: 5s
|
timeout: 5s
|
||||||
retries: 5
|
retries: 5
|
||||||
|
volumes:
|
||||||
|
- ./postgres-db-data:/var/lib/postgresql/data/pgdata
|
||||||
|
|
Loading…
Reference in a new issue