-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdepolyment.yml
98 lines (98 loc) · 2.17 KB
/
depolyment.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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
---
version: "2.0"
services:
neo4j-db:
image: neo4j:5.11.0-enterprise
expose:
- port: 7474
as: 7474
to:
- global: true
- port: 7687
as: 7687
to:
- global: true
- port: 6362
as: 6362
to:
- service: neo4j-backup
env:
- NEO4J_server_config_strict__validation_enabled=false
- NEO4J_server_default__listen__address=0.0.0.0
- NEO4J_server_bolt_enabled=true
- NEO4J_server_bolt_tls__level=DISABLED
- NEO4J_server_bolt_listen__address=0.0.0.0:7687
- NEO4J_server_http_enabled=true
- NEO4J_server_http_listen__address=0.0.0.0:7474
- NEO4J_initial_dbms_default__database=neo4j
- NEO4J_ACCEPT_LICENSE_AGREEMENT=yes
- NEO4J_AUTH=neo4j/<YOUR_PASSWORD_DB>
- NEO4J_server_backup_listen__address=0.0.0.0:6362
- NEO4J_server_backup_enabled=true
params:
storage:
data:
mount: /var/lib/neo4j/data
readOnly: false
neo4j-backup:
image: xdmaury/neo4j-backup:v1.0.0
depends_on:
- service: neo4j-db
expose:
- port: 22
as: 22
to:
- global: true
env:
- ROOT_PASSWORD=<YOUR_PASSWORD_UBUNTU>
params:
storage:
backup:
mount: /opt/neo4j/backups
readOnly: false
profiles:
compute:
neo4j-db:
resources:
cpu:
units: 1
memory:
size: 2Gi
storage:
- size: 2Gi
- name: data
size: 2Gi
attributes:
persistent: true
class: beta3
neo4j-backup:
resources:
cpu:
units: 1
memory:
size: 1Gi
storage:
- size: 2Gi
- name: backup
size: 2Gi
attributes:
persistent: true
class: beta3
placement:
dcloud:
pricing:
neo4j-db:
denom: uakt
amount: 1000
neo4j-backup:
denom: uakt
amount: 1000
deployment:
neo4j-db:
dcloud:
profile: neo4j-db
count: 1
neo4j-backup:
dcloud:
profile: neo4j-backup
count: 1