-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
executable file
·38 lines (36 loc) · 783 Bytes
/
Copy pathdocker-compose.yaml
File metadata and controls
executable file
·38 lines (36 loc) · 783 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
services:
postgres:
image: postgres:17.0-alpine3.20
networks:
- ghost-network
restart: unless-stopped
ports:
- 5433:5432
healthcheck:
test: ["CMD", "pg_isready", "-d", "ghostsend", "-U", "postgres"]
interval: 10s
timeout: 5s
retries: 5
env_file:
- .env
backend:
image: cksidharthan/ghostsend-backend:latest
platform: linux/amd64
ports:
- "8080:8080"
networks:
- ghost-network
env_file:
- .env
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8080/healthz"]
interval: 10s
timeout: 5s
retries: 5
restart: unless-stopped
depends_on:
postgres:
condition: service_healthy
networks:
ghost-network:
driver: bridge