-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
44 lines (41 loc) · 862 Bytes
/
docker-compose.yaml
File metadata and controls
44 lines (41 loc) · 862 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
39
40
41
42
43
44
version: "3.8"
# You can remove networks if different deploy environment
networks:
coolify:
name: coolify
external: true
services:
api:
build:
context: .
dockerfile: ./Dockerfile
target: api_serve
ports:
- "8911:8911"
environment:
- NODE_ENV=production
- YARN_VERSION=4.3.0
healthcheck:
test: curl -f http://localhost:8911/graphql/health || exit 1
interval: 10s
start_period: 10s
timeout: 5s
retries: 3
networks:
- coolify
web:
build:
context: .
dockerfile: ./Dockerfile
target: web_serve
ports:
- "8910:8910"
depends_on:
api:
condition: service_healthy
environment:
- NODE_ENV=production
- API_PROXY_TARGET=http://localhost:8911
- YARN_VERSION=4.3.0
networks:
- coolify