-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
98 lines (93 loc) · 2.32 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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
version: '2'
services:
rethinkdb-container:
restart: always
image: rethinkdb
hostname: rethinkdb
volumes:
- "/isard/database:/data"
expose:
- "28015"
networks:
main:
aliases:
- rethinkdb
isard-hypervisor:
restart: always
image: isard/hypervisor
links:
- "rethinkdb-container"
hostname: isard-hypervisor
ports:
- "80:80"
- "5900-5930:5900-5930"
- "55900-55930:55900-55930"
expose:
- "22"
privileged: true
volumes:
- "/sys/fs/cgroup:/sys/fs/cgroup:rw"
- "sshkeys:/root/.ssh"
- "/isard:/isard"
- "/isard/builder:/root/.cache/virt-builder"
- "/etc/hostname:/hostname"
- "viewerkeys:/etc/pki/libvirt-spice"
networks:
main:
aliases:
- isard-hypervisor
command: /usr/sbin/init
isard-webapp:
restart: always
image: isard/webapp
links:
- "rethinkdb-container"
hostname: isard-webapp
volumes:
- "viewerkeys:/isard/install/viewer-certs"
- "/isard/logs:/isard/logs"
expose:
- "5000"
environment:
PYTHONUNBUFFERED: 0
networks:
main:
aliases:
- isard-webapp
command: bash -c '/init.sh'
isard-engine:
restart: always
image: isard/engine
links:
- "rethinkdb-container"
- "isard-hypervisor"
volumes:
- "sshkeys:/root/.ssh"
- "/isard/logs:/isard/logs"
hostname: isard-engine
expose:
- "5555"
environment:
PYTHONUNBUFFERED: 0
networks:
main:
aliases:
- isard-engine
command: bash -c '/init.sh'
isard-nginx:
restart: always
image: isard/nginx
ports:
- "443:443"
hostname: isard-nginx
links:
- "isard-webapp:isard-webapp"
networks:
main:
aliases:
- isard-nginx
networks:
main:
volumes:
sshkeys:
viewerkeys: