-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
71 lines (63 loc) · 1.16 KB
/
docker-compose.yml
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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
version: "2"
services:
guacamole-client:
build:
context: ./guacamole-client
image: human-apps/guacamole-client
ports:
- 8080:8080
networks:
- human-apps
restart: always
guacd:
image: glyptodon/guacd
networks:
- human-apps
restart: always
ubuntu-qemu:
build:
context: ./ubuntu-qemu
image: human-apps/ubuntu-qemu
volumes:
- ./ubuntu-qemu/images:/images
devices:
- /dev/kvm
networks:
- human-apps
backend:
build:
context: ./
image: human-apps/backend
volumes:
- static:/opt/frontend/dist
networks:
- human-apps
restart: always
environment:
- UBUNTU_HOST=ubuntu-qemu
- GUACAMOLE_HOST=guacamole-client
frontend:
build:
context: ./frontend
image: human-apps/frontend
networks:
- human-apps
volumes:
- static:/opt/dist
proxy:
build: ./nginx
ports:
- 80:80
image: human-apps/proxy
depends_on:
- backend
restart: always
container_name: "proxy"
networks:
- human-apps
networks:
human-apps:
driver: bridge
volumes:
static:
driver: local