/
docker-compose-oneprovider.yml
56 lines (54 loc) · 1.53 KB
/
docker-compose-oneprovider.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.oneprovider.localhost:
image: onedata/oneprovider:3.0.0-RC3
hostname: node1.oneprovider.localhost
# dns: 8.8.8.8 # uncomment if container can't ping any domain
container_name: oneprovider-1
volumes:
- "${ONEPROVIDER_CONFIG_DIR}:/volumes/persistence"
- "${ONEPROVIDER_DATA_DIR}:/volumes/storage"
- "/var/run/docker.sock:/var/run/docker.sock"
networks:
- scenario2
environment:
ONEPANEL_BATCH_MODE: "true"
ONEPROVIDER_CONFIG: |
cluster:
domainName: "oneprovider.localhost"
autoDeploy: true
nodes:
n1:
hostname: "node1"
managers:
mainNode: "n1"
nodes:
- "n1"
workers:
nodes:
- "n1"
databases:
nodes:
- "n1"
storages:
NFS:
type: "posix"
mountPoint: "/volumes/storage"
oneprovider:
register: true
name: "Example"
redirectionPoint: "https://node1.oneprovider.localhost" # OR DOCKER IP ADDRESS
geoLatitude: ${GEO_LATITUDE}
geoLongitude: ${GEO_LONGITUDE}
onezone:
domainName: "node1.onezone.localhost" # OR DOCKER IP ADDRESS
onepanel:
users:
"admin":
password: "Password1"
userRole: "admin"
"user":
password: "Password2"
userRole: "regular"
networks:
scenario2: