-
Notifications
You must be signed in to change notification settings - Fork 0
/
compose.yaml
56 lines (40 loc) · 1.02 KB
/
compose.yaml
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
45
46
47
48
49
50
51
52
53
54
55
56
version: '3.8'
services:
pyicub:
image: ${PYICUB_BASE_NAME:?err}.local
container_name: pyicub.${VERSION}
extends:
file: .dockyman/profiles/local.yaml
service: local
env_file:
- .env
- icub.env
- pyicub.env
command: ["/bin/bash", "-c", "terminator & bash /var/dockyman/scripts/initContainer.sh"]
volumes:
- type: bind
source: ./scripts
target: /var/dockyman/scripts
- type: bind
source: ./workdir
target: /workdir
- type: volume
source: pyicub-workspace
target: /home/icub/pyicub
pyicub-frontend:
image: ${PYICUB_FRONTEND_BASE_NAME}
container_name: pyicub-frontend.${PYICUB_FRONTEND_VERSION}
profiles: ["restapi"]
env_file:
- .env
- pyicub.env
network_mode: host
depends_on:
- pyicub
volumes:
- type: volume
source: pyicub-frontend-workspace
target: /app/pyicub-frontend
volumes:
pyicub-workspace:
pyicub-frontend-workspace: