-
Notifications
You must be signed in to change notification settings - Fork 3
/
docker-compose-controller.yml
149 lines (142 loc) · 3.81 KB
/
docker-compose-controller.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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
version: '3.7'
services:
mariadb:
container_name: s4t_iotronic_db
restart: unless-stopped
image: smartmeio/mariadb:focal
environment:
MARIADB_ROOT_PASSWORD: smartme
volumes:
- 's4t_iotronic_db_data:/var/lib/mysql'
- 's4t_iotronic_db_config:/etc/mysql'
ports:
- '3306:3306'
networks:
- 'default'
rabbitmq:
container_name: s4t_rabbitmq
restart: unless-stopped
image: smartmeio/s4t_rabbitmq:3.9.8
environment:
- RABBIT_PASS="smartme"
ports:
- '5672:5672'
networks:
- 'default'
keystone:
container_name: s4t_keystone
restart: unless-stopped
image: smartmeio/s4t_keystone:stein
environment:
- OS_PROJECT_DOMAIN_NAME=Default
- OS_USER_DOMAIN_NAME=Default
- OS_PROJECT_NAME=admin
- OS_USERNAME=admin
- OS_PASSWORD=smartme
- OS_AUTH_URL=https://demo-controller.smartme.io:5000/v3
- OS_IDENTITY_API_VERSION=3
- OS_IMAGE_API_VERSION=2
- HOST="demo-controller.smartme.io"
- ADMIN_PASS="smartme"
- URL="https://demo-controller.smartme.io:5000/v3"
volumes:
- s4t_keystone_config:/etc/keystone/
- s4t_keystone_data:/var/lib/keystone/
- /var/log/keystone:/var/log/keystone
- /var/log/keystone-api:/var/log/apache2
depends_on:
- mariadb
- rabbitmq
ports:
- '5001:5000'
networks:
- 'default'
conductor:
container_name: s4t_iotronic_conductor
restart: unless-stopped
image: smartmeio/s4t_iotronic_conductor:latest
environment:
- OS_PROJECT_DOMAIN_NAME=Default
- OS_USER_DOMAIN_NAME=Default
- OS_PROJECT_NAME=admin
- OS_USERNAME=admin
- OS_PASSWORD=smartme
- OS_AUTH_URL=https://demo-controller.smartme.io:5000/v3
- OS_IDENTITY_API_VERSION=3
- OS_IMAGE_API_VERSION=2
- HOST="demo-controller.smartme.io"
- ADMIN_PASS="smartme"
- IOTRONIC_PASS="smartme"
hostname: conductor
volumes:
- s4t_iotronic_conductor_config:/etc/iotronic/
- /var/log/iotronic-conductor:/var/log/iotronic
depends_on:
- rabbitmq
- keystone
- mariadb
command: /bin/bash -c 'iotronic-dbsync && startConductor'
ports:
- '8813:8812'
networks:
- 'default'
designate:
container_name: s4t_iotronic_designate
image: smartmeio/s4t_iotronic_designate:latest
environment:
- OS_PROJECT_DOMAIN_NAME=Default
- OS_USER_DOMAIN_NAME=Default
- OS_PROJECT_NAME=admin
- OS_USERNAME=admin
- OS_PASSWORD=smartme
- OS_AUTH_URL=https://demo-controller.smartme.io:5000/v3
- OS_IDENTITY_API_VERSION=3
- OS_IMAGE_API_VERSION=2
- HOST="demo-controller.smartme.io"
- ADMIN_PASS="smartme"
- IOTRONIC_PASS="smartme"
hostname: designate
volumes:
- s4t_designate_config:/etc/designate
- s4t_bind:/etc/bind
- /var/log/designate-conductor:/var/log/designate
depends_on:
- rabbitmq
- keystone
- mariadb
command: /bin/bash -c 'designate-manage database sync && startDesignate'
ports:
- '9002:9001'
- '53:53/udp'
- '53:53'
networks:
- 'default'
ui:
container_name: s4t_iotronic_ui
restart: unless-stopped
image: smartmeio/s4t_iotronic_ui:latest
depends_on:
- conductor
ports:
- '8086:80'
networks:
- 'default'
volumes:
s4t_iotronic_db_data:
name: s4t_iotronic_db_data
s4t_iotronic_db_config:
name: s4t_iotronic_db_config
s4t_keystone_config:
name: s4t_keystone_config
s4t_keystone_data:
name: s4t_keystone_data
s4t_iotronic_conductor_config:
name: s4t_iotronic_conductor_config
s4t_designate_config:
name: s4t_designate_config
s4t_bind:
name: s4t_bind
networks:
default:
name: s4t-controller-network
driver: 'bridge'