forked from hsanjuan/go-dcc
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
35 lines (35 loc) · 845 Bytes
/
docker-compose.yaml
File metadata and controls
35 lines (35 loc) · 845 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
version: '3.9'
services:
vue-ui:
build:
context: ./software/frontend/ci
target: development
ports:
- "8080:8080"
container_name: vue-ui
working_dir: /var/www/app
user: node
volumes:
- ./software/frontend:/var/www/app
- ./software/frontend/public:/var/www/build
command: "npm run dev"
depends_on:
server:
condition: service_healthy
server:
build:
context: ./software/dccpi/ci
target: development
ports:
- "3000:3000"
container_name: dccpi-server
working_dir: /var/app
volumes:
- ./software/dccpi:/var/app:delegated
- ./software/frontend:/frontend:delegated
healthcheck:
test: curl --fail http://localhost:3000/check || exit 1
interval: 10s
retries: 5
start_period: 5s
timeout: 5s