-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.all.yml
69 lines (66 loc) · 1.86 KB
/
docker-compose.all.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
version: "3.9"
services:
vdi-api:
image: vdi-api:latest
container_name: vdi-api
restart: always
ports:
- 127.0.0.1:5001:5001
environment:
- URL_VNC=https://vnc.insa-cvl.com
- URL_VDI=https://vdi.insa-cvl.com
- URL_API=https://api.insa-cvl.com
- DB_HOST=vdi-db
- DB_NAME=vdi
- DB_USER=vdi
- DB_PASSWORD=azerty
- OPENSTACK_PRIVATE_NETWORK_ID=0d49c37b-7077-4152-985c-f5a00ad20677
- OPENSTACK_USERNAME=admin
- OPENSTACK_PASSWORD=3pMrmW899b9y^2kiJa!6#Z#kE%@a2r
- OPENSTACK_AUTH_URL=http://172.10.3.60:5000/v3
- OPENSTACK_PROJECT_NAME=admin
- OPENSTACK_USER_DOMAIN_ID=default
- OPENSTACK_PROJECT_DOMAIN_ID=default
depends_on:
- vdi-db
links:
- vdi-db
vdi-scheduler:
image: vdi-scheduler:latest
container_name: vdi-scheduler
restart: always
environment:
- DB_HOST=vdi-db
- DB_NAME=vdi
- DB_USER=vdi
- DB_PASSWORD=azerty
- OPENSTACK_PRIVATE_NETWORK_ID=0d49c37b-7077-4152-985c-f5a00ad20677
- OPENSTACK_USERNAME=admin
- OPENSTACK_PASSWORD=3pMrmW899b9y^2kiJa!6#Z#kE%@a2r
- OPENSTACK_AUTH_URL=http://172.10.3.60:5000/v3
- OPENSTACK_PROJECT_NAME=admin
- OPENSTACK_USER_DOMAIN_ID=default
- OPENSTACK_PROJECT_DOMAIN_ID=default
depends_on:
- vdi-db
links:
- vdi-db
vdi-app:
image: vdi-app:latest
container_name: vdi-app
ports:
- "127.0.0.1:5000:5000"
environment:
- URL_API=https://api.insa-cvl.com
restart: always
vdi-db:
image: mariadb:10.11.4
container_name: vdi-db
restart: always
environment:
- MYSQL_ROOT_PASSWORD=azerty
- MYSQL_DATABASE=vdi
- MYSQL_USER=vdi
- MYSQL_PASSWORD=azerty
volumes:
- ./vdi-db:/var/lib/mysql