forked from onedata/getting-started
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose-onezone.yml
56 lines (54 loc) · 1.58 KB
/
docker-compose-onezone.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
version: '2.0'
services:
node1.onezone.localhost:
image: onedata/onezone:3.0.0-rc6
privileged: true
hostname: node1.onezone.localhost
# dns: 8.8.8.8 # uncomment if container can't ping any domain
container_name: onezone-1
volumes:
- "/sys/fs/cgroup:/sys/fs/cgroup"
- "/var/run/docker.sock:/var/run/docker.sock"
# configuration persistance
- "${ONEZONE_CONFIG_DIR}:/volumes/persistence"
# OpenId configuration
#- "${AUTH_PATH}:/volumes/persistence/var/lib/oz_worker/auth.config"
# DNS configuration
#- "${DNS_PATH}:/volumes/persistence/var/lib/oz_worker/dns.config"
# Onepanel
#- "${OZ_PRIV_KEY_PATH}:/volumes/persistence/etc/oz_panel/certs/key.pem"
#- "${OZ_CERT_PATH}:/volumes/persistence/etc/oz_panel/certs/cert.pem"
networks:
- scenario2
environment:
ONEPANEL_BATCH_MODE: "true"
ONEZONE_CONFIG: |
cluster:
domainName: "onezone.localhost"
autoDeploy: true
nodes:
n1:
hostname: "node1"
managers:
mainNode: "n1"
nodes:
- "n1"
workers:
nodes:
- "n1"
databases:
nodes:
- "n1"
onezone:
name: "Example"
domainName: "onezone.localhost"
onepanel:
users:
"admin":
password: "password"
userRole: "admin"
"user":
password: "password"
userRole: "regular"
networks:
scenario2: