7f06856f45
build-and-deploy / deploy (push) Successful in 10m50s
Blazor UI + ASP.NET API + Postgres; push to main builds images and rolls out namespace tafsirquran.
21 lines
464 B
YAML
21 lines
464 B
YAML
services:
|
|
postgres:
|
|
image: postgres:16-alpine
|
|
container_name: tafsirquran-db
|
|
environment:
|
|
POSTGRES_USER: tafsir
|
|
POSTGRES_PASSWORD: tafsir_dev
|
|
POSTGRES_DB: tafsirquran
|
|
ports:
|
|
- "5434:5432"
|
|
volumes:
|
|
- tafsirquran_pgdata:/var/lib/postgresql/data
|
|
healthcheck:
|
|
test: ["CMD-SHELL", "pg_isready -U tafsir -d tafsirquran"]
|
|
interval: 5s
|
|
timeout: 5s
|
|
retries: 10
|
|
|
|
volumes:
|
|
tafsirquran_pgdata:
|