monzo-ingestion/compose.yaml
Joshua Coles bd9bd998a4
Some checks failed
Build and Publish Docker Container / build (push) Failing after 22s
Remove unused secret def
Really just to make a push
2023-09-05 17:55:30 +01:00

29 lines
620 B
YAML

services:
server:
build:
context: .
target: final
ports:
- 3000:3000
environment:
- DATABASE_URL=postgres://postgres:64ED6F27-D08D-40B4-BC80-034C7C207986@db/postgres
depends_on:
db:
condition: service_healthy
db:
image: postgres
restart: always
user: postgres
volumes:
- db-data:/var/lib/postgresql/data
environment:
- POSTGRES_DB=example
- POSTGRES_PASSWORD=64ED6F27-D08D-40B4-BC80-034C7C207986
healthcheck:
test: [ "CMD", "pg_isready" ]
interval: 10s
timeout: 5s
retries: 5
volumes:
db-data: