File tree Expand file tree Collapse file tree 1 file changed +30
-0
lines changed
Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Original file line number Diff line number Diff line change 1+ services :
2+ db :
3+ image : postgres:${POSTGRES_VERSION:-17}
4+ restart : unless-stopped
5+ environment :
6+ POSTGRES_USER : ${DB_USER:-javabin}
7+ POSTGRES_PASSWORD : ${DB_PASSWORD}
8+ POSTGRES_DB : ${DB_NAME:-javabinkids}
9+ volumes :
10+ - pgdata:/var/lib/postgresql/data
11+ healthcheck :
12+ test : ["CMD-SHELL", "pg_isready -U ${DB_USER:-javabin} -d ${DB_NAME:-javabinkids}"]
13+ interval : 10s
14+ timeout : 5s
15+ retries : 5
16+ app :
17+ image : ghcr.io/javabin/javabinkids:${JZ_KIDS_VERSION:-latest}
18+ restart : unless-stopped
19+ environment :
20+ DATABASE_URL : postgres://${DB_USER:-javabin}:${DB_PASSWORD}@db:5432/${DB_NAME:-javabinkids}
21+ RESEND_API_KEY : ${RESEND_API_KEY}
22+ BASE_URL : ${BASE_URL}
23+ NODE_ENV : production
24+ depends_on :
25+ db :
26+ condition : service_healthy
27+
28+ volumes :
29+ pgdata :
30+ backups :
You can’t perform that action at this time.
0 commit comments