stack-orchestrator/stack_orchestrator/data/compose/docker-compose-test-database.yml
David Boreham 7b5f720593
All checks were successful
Lint Checks / Run linter (pull_request) Successful in 41s
Deploy Test / Run deploy test suite (pull_request) Successful in 3m30s
Webapp Test / Run webapp test suite (pull_request) Successful in 4m32s
Smoke Test / Run basic test suite (pull_request) Successful in 2m41s
Basic database test
2024-02-14 15:29:33 -07:00

21 lines
417 B
YAML

services:
database:
image: cerc/test-database-container:local
restart: always
volumes:
- db-data:/var/lib/postgresql/data
environment:
POSTGRES_USER: "test-user"
POSTGRES_DB: "test-db"
POSTGRES_PASSWORD: "password"
POSTGRES_INITDB_ARGS: "-E UTF8 --locale=C"
ports:
- "5432"
test-client:
image: cerc/test-database-client:local
volumes:
db-data: