forked from blockbridge/blockbridge-docker-volume
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
30 lines (27 loc) · 845 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
30 lines (27 loc) · 845 Bytes
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
version: '2'
services:
blockbridge-volume-driver:
image: blockbridge/volume-driver:latest-alpine
volumes:
- /run/docker/plugins/blockbridge:/run/docker/plugins
- blockbridge-volumes:/bb/volumes
- blockbridge-iscsi:/var/lib/iscsi
- /var/run/docker.sock:/run/docker.sock
- /etc/iscsi:/etc/iscsi
- /lib/modules:/lib/modules
- /proc/1/ns:/ns-net
- /proc/1/ns:/ns-mnt
networks:
- blockbridgesimulator_discovery
privileged: true
labels:
com.docker.swarm.affinities: '["container!=*blockbridge-volume-driver*"]'
environment:
BLOCKBRIDGE_API_HOST: bbsim-mn
BLOCKBRIDGE_API_KEY: 1/Z6w+3/YW6nmf4n9IRxaXwwFVJ4ws/CAhdFD+40w3L4dHrD7f9hbrOA
volumes:
blockbridge-volumes:
blockbridge-iscsi:
networks:
blockbridgesimulator_discovery:
external: true