-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
47 lines (47 loc) · 1.16 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
version: '2'
services:
osdsapiserver:
image: 'opensdsio/opensds-apiserver:latest'
tty: true
network_mode: "host"
volumes:
- /etc/opensds:/etc/opensds
depends_on:
- osdsdb
restart: on-failure
command: /bin/bash -c '/usr/bin/osdsapiserver -logtostderr'
osdslet:
image: 'opensdsio/opensds-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: 'opensdsio/opensds-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
ports:
- 3260:3260
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