-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
37 lines (35 loc) · 889 Bytes
/
docker-compose.yaml
File metadata and controls
37 lines (35 loc) · 889 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
services:
build-service:
build:
context: .
dockerfile: apps/build-service/Dockerfile
image: flora-build-service:latest
ports:
- '3001:3001'
environment:
BUILD_SERVICE_SECRET: ${BUILD_SERVICE_SECRET?set BUILD_SERVICE_SECRET}
BUILD_SERVICE_HOST: 0.0.0.0
BUILD_SERVICE_PORT: 3001
BUILD_SERVICE_DISABLE_MINIFY: 'true'
BUILD_SERVICE_WORKSPACE_DIR: /app/build-workspace
volumes:
- build_service_workspace:/app/build-workspace
networks:
- flora
healthcheck:
test:
[
'CMD',
'node',
'-e',
"fetch('http://localhost:3001/health').then(r=>process.exit(r.ok?0:1)).catch(()=>process.exit(1))"
]
interval: 30s
timeout: 5s
retries: 5
restart: unless-stopped
volumes:
build_service_workspace:
networks:
flora:
name: flora