Initial TafsirQuran app with Gitea CI/CD deploy to k3s.
build-and-deploy / deploy (push) Successful in 10m50s
build-and-deploy / deploy (push) Successful in 10m50s
Blazor UI + ASP.NET API + Postgres; push to main builds images and rolls out namespace tafsirquran.
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
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:
|
||||
Reference in New Issue
Block a user