-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
70 lines (62 loc) · 1.74 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
63
64
65
66
67
68
69
70
version: '2'
services:
db:
image: "mysql:5.7"
restart: "always"
environment:
MYSQL_ROOT_PASSWORD: "passwd"
MYSQL_DATABASE: "owncloud"
auth-node:
build: "../clawiod"
restart: "always"
command: "/go/bin/clawiod --conf /etc/clawiod/auth-node.conf"
volumes:
- "./configs:/etc/clawiod/"
- "./logs:/var/log/clawiod/"
- "./data:/root/clawiod/"
oc-data-node:
build: "../clawiod"
restart: "always"
command: "/go/bin/clawiod --conf /etc/clawiod/oc-data-node.conf"
volumes:
- "./configs:/etc/clawiod/"
- "./logs:/var/log/clawiod/"
- "./data:/root/clawiod/"
oc-metadata-node:
build: "../clawiod"
restart: "always"
command: "/go/bin/clawiod --conf /etc/clawiod/oc-metadata-node.conf"
volumes:
- "./configs:/etc/clawiod/"
- "./logs:/var/log/clawiod/"
- "./data:/root/clawiod/"
oc-webdav-node:
build: "../clawiod"
restart: "always"
command: "/go/bin/clawiod --conf /etc/clawiod/oc-webdav-node.conf"
ports:
- "1503:1503"
volumes:
- "./configs:/etc/clawiod/"
- "./logs:/var/log/clawiod/"
- "./data:/root/clawiod/"
proxy-node:
build: "../clawiod"
restart: "always"
command: "/go/bin/clawiod --conf /etc/clawiod/proxy-node.conf"
ports:
- "1580:1580"
volumes:
- "./configs:/etc/clawiod/"
- "./logs:/var/log/clawiod/"
- "./data:/root/clawiod/"
etcd:
image: "quay.io/coreos/etcd"
ports:
- "2379:2379"
command: >-
/usr/local/bin/etcd
-advertise-client-urls http://etcd:2379,http://etcd:4001
-listen-client-urls http://0.0.0.0:2379,http://0.0.0.0:4001
-initial-advertise-peer-urls http://etcd:2380
-listen-peer-urls http://0.0.0.0:2380