We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 578d108 commit ead5e8cCopy full SHA for ead5e8c
1 file changed
docker-compose.coolify.yml
@@ -0,0 +1,29 @@
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
19
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
26
+
27
+volumes:
28
+ pgdata:
29
+ backups:
0 commit comments