chore: adjustments to composefile
All checks were successful
Build, Package and Push Images / preprocess (push) Successful in 2s
Build, Package and Push Images / build (push) Successful in 28s
Build, Package and Push Images / sbom-scan (push) Successful in 42s
Build, Package and Push Images / sonarqube (push) Successful in 1m24s
Build, Package and Push Images / container-build (push) Successful in 1m43s
Build, Package and Push Images / container-sbom-scan (push) Successful in 37s

This commit is contained in:
Timothy Schenk 2023-11-06 19:05:10 +01:00
parent 510ae3173c
commit df8c829476

View file

@ -1,6 +1,9 @@
services:
server:
container_name: continuity-server
image: server:latest
depends_on:
- db
environment:
- ENVIRONMENT=Development
- Testing:CreateAccountOnLogin=true
@ -14,6 +17,7 @@
- "10001:10001"
db:
container_name: continuity-db
image: postgres:16.0-alpine
environment:
- POSTGRES_USER=continuity
@ -23,6 +27,11 @@
- continuity
volumes:
- db-data:/var/lib/postgresql/data
healthcheck:
test: [ "CMD-SHELL", "sh -c 'pg_isready -U ${POSTGRES_USER} -d ${POSTGRES_DB}'" ]
interval: 10s
timeout: 3s
retries: 3
networks:
continuity: