forked from sodafoundation/api
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
62 lines (62 loc) · 1.6 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
version: '2'
services:
osdsapiserver:
image: 'sodafoundation/apiserver:latest'
tty: true
network_mode: "host"
volumes:
- /etc/opensds:/etc/opensds
depends_on:
- osdsdb
- osdsauthchecker
restart: on-failure
command: /bin/bash -c '/usr/bin/osdsapiserver -logtostderr'
osdslet:
image: 'sodafoundation/controller:latest'
tty: true
network_mode: "host"
volumes:
- /etc/opensds:/etc/opensds
depends_on:
- osdsdb
restart: on-failure
command: /bin/bash -c '/usr/bin/osdslet -logtostderr'
osdsdock:
image: 'sodafoundation/dock:latest'
tty: true
privileged: true
volumes:
- /etc/opensds:/etc/opensds
- /etc/ceph:/etc/ceph
- /etc/tgt:/etc/tgt:shared
- /run/:/run/:shared
- /dev/:/dev/
- /etc/localtime:/etc/localtime:ro
- /lib/modules:/lib/modules:ro
depends_on:
- osdsdb
network_mode: "host"
restart: on-failure
command: /bin/bash -c '/usr/sbin/tgtd && /usr/bin/osdsdock -logtostderr'
osdsdb:
image: 'quay.io/coreos/etcd:latest'
tty: true
network_mode: "host"
volumes:
- /usr/share/ca-certificates/:/etc/ssl/certs
restart: on-failure
osdsauthchecker:
image: 'opensdsio/opensds-authchecker:latest'
tty: true
network_mode: "host"
privileged: true
restart: on-failure
osdsdashboard:
image: 'sodafoundation/dashboard:latest'
tty: true
network_mode: "host"
restart: on-failure
environment:
- OPENSDS_AUTH_URL=http://127.0.0.1/identity
- OPENSDS_HOTPOT_URL=http://127.0.0.1:50040
- OPENSDS_GELATO_URL=http://127.0.0.1:8089