1
0

Switch to our own postgres container

This commit is contained in:
nicolas.dorier
2021-10-21 13:38:12 +09:00
parent 8b3f0368a8
commit b153b84953
5 changed files with 17 additions and 91 deletions

View File

@@ -3,14 +3,11 @@ version: "3"
services:
postgres:
restart: unless-stopped
image: postgres:13.4
entrypoint: ./migrate-docker-entrypoint.sh
command: postgres
image: btcpayserver/postgres:13.4
environment:
POSTGRES_HOST_AUTH_METHOD: trust
volumes:
- "postgres_datadir:/var/lib/postgresql/data"
- "./postgres/migrate-docker-entrypoint.sh:/migrate-docker-entrypoint.sh:ro"
volumes:
postgres_datadir: