-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
68 lines (67 loc) · 1.83 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
version: '3'
services:
daas-portal:
image: supraaxes/supradaas-portal
volumes:
- /opt/supra/daas/logs:/opt/supra/logs
- /opt/supra/daas/cert:/opt/supra/cert
ports:
- "443:443"
depends_on:
- daas-admin
daas-admin:
image: supraaxes/supradaas-admin
volumes:
- /opt/supra/daas/files:/opt/supra/data/files
- /opt/supra/daas/logs:/opt/supra/logs
- /opt/supra/daas/conf:/opt/supra/config
environment:
- VM_NETWORK=supra_projectors
- VM_MANAGER_HOSTNAME=vm-manager
- GUACD_HOSTNAME=supra-agent
- POSTGRES_HOSTNAME=supra-db
- POSTGRES_PORT=5432
- POSTGRES_DATABASE=supra_db
- POSTGRES_USERNAME=supra
- POSTGRES_PASSWORD=supra
networks:
- default
- projectors
depends_on:
- supra-db
- vm-manager
- supra-agent
supra-db:
image: postgres
volumes:
- /opt/supra/daas/db:/var/lib/postgresql/data
environment:
- POSTGRES_USER=supra
- POSTGRES_PASSWORD=supra
- POSTGRES_DB=supra_db
vm-manager:
image: supraaxes/supradaas-manager
volumes:
- /opt/supra/daas/vm/storage:/vm-storage
- /opt/supra/daas/vm/backup:/vm-backup
- /opt/supra/daas/vm/host:/supra-host
- /opt/supra/daas/conf:/supra/conf/app
- /opt/supra/daas/logs:/supra/logs
- /var/run/docker.sock:/var/run/docker.sock
environment:
- VM_ADMIN_HOSTNAME=daas-admin
- VM_STORAGE_BASE=/opt/supra/daas/vm/storage
- SUPRA_HOST_BASE=/opt/supra/daas/vm/host
- SUPRA_PROJECTOR_IMAGE=supraaxes/projector-supra-vm
supra-agent:
image: supraaxes/supra-guacd
volumes:
- /opt/supra/daas/files:/opt/supra/data/user_data
networks:
- default
- projectors
networks:
default:
name: supradaas_network
projectors:
name: supra_projectors