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
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:
parent
510ae3173c
commit
df8c829476
1 changed files with 9 additions and 0 deletions
|
@ -1,6 +1,9 @@
|
||||||
services:
|
services:
|
||||||
server:
|
server:
|
||||||
|
container_name: continuity-server
|
||||||
image: server:latest
|
image: server:latest
|
||||||
|
depends_on:
|
||||||
|
- db
|
||||||
environment:
|
environment:
|
||||||
- ENVIRONMENT=Development
|
- ENVIRONMENT=Development
|
||||||
- Testing:CreateAccountOnLogin=true
|
- Testing:CreateAccountOnLogin=true
|
||||||
|
@ -14,6 +17,7 @@
|
||||||
- "10001:10001"
|
- "10001:10001"
|
||||||
|
|
||||||
db:
|
db:
|
||||||
|
container_name: continuity-db
|
||||||
image: postgres:16.0-alpine
|
image: postgres:16.0-alpine
|
||||||
environment:
|
environment:
|
||||||
- POSTGRES_USER=continuity
|
- POSTGRES_USER=continuity
|
||||||
|
@ -23,6 +27,11 @@
|
||||||
- continuity
|
- continuity
|
||||||
volumes:
|
volumes:
|
||||||
- db-data:/var/lib/postgresql/data
|
- 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:
|
networks:
|
||||||
continuity:
|
continuity:
|
||||||
|
|
Loading…
Add table
Reference in a new issue