wallet/docker-compose.yaml

32 lines
679 B
YAML
Raw Normal View History

2024-08-31 14:46:20 +00:00
version: "3.7"
services:
custodial:
build: .
command: build/custodial --env=dev
ports:
- "28080:8080"
volumes:
- custodial-db-data:/mnt/data:rw
depends_on:
- postgres
env_file:
- dev.env
environment:
- DB_CONNECTION_SETTINGS=host=postgres port=5432 user=user password=user dbname=custodial sslmode=disable
postgres:
image: postgres:14.4-alpine
ports:
- "5435:5432"
volumes:
- custodial-postgres-data:/var/lib/postgresql/data:rw
environment:
- POSTGRES_PASSWORD=user
- POSTGRES_USER=user
- POSTGRES_DB=custodial
volumes:
custodial-db-data:
custodial-postgres-data: