forked from TechDufus/FluxNodeInstall
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvars.yml
138 lines (128 loc) · 4.16 KB
/
vars.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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
###################################################################
# #
# ╺┳╸┏━┓┏━╸┏━┓╺┳┓ ┏━╸┏━┓┏━┓┏━╸┏━╸╻ ╻╻ ╻ ╻ ╻ #
# ┃ ┣┳┛┣╸ ┣━┫ ┃┃ ┃ ┣━┫┣┳┛┣╸ ┣╸ ┃ ┃┃ ┃ ┗┳┛ #
# ╹ ╹┗╸┗━╸╹ ╹╺┻┛ ┗━╸╹ ╹╹┗╸┗━╸╹ ┗━┛┗━╸┗━╸ ╹ ╹╹╹ #
# #
# -------- Edit the below if you know what you are doing -------- #
# #
# ╺┳╸╻ ╻┏━╸┏━┓┏━╸ ┏┓ ┏━╸ ╺┳┓┏━┓┏━┓┏━╸┏━┓┏┓╻┏━┓ ╻ ╻┏━╸┏━┓┏━╸ #
# ┃ ┣━┫┣╸ ┣┳┛┣╸ ┣┻┓┣╸ ┃┃┣┳┛┣━┫┃╺┓┃ ┃┃┗┫┗━┓ ┣━┫┣╸ ┣┳┛┣╸ #
# ╹ ╹ ╹┗━╸╹┗╸┗━╸ ┗━┛┗━╸ ╺┻┛╹┗╸╹ ╹┗━┛┗━┛╹ ╹┗━┛ ╹ ╹┗━╸╹┗╸┗━╸ #
# #
###################################################################
#
flux_os:
path: "/home/{{ global.user }}/zelflux"
development: "false"
testnet: "false"
watchdog:
path: "/home/{{ global.user }}/watchdog"
repo: "https://github.com/RunOnFlux/fluxnode-watchdog.git"
hooks: "https://raw.githubusercontent.com/RunOnFlux/fluxnode-multitool/master/post-merge"
fluxbench:
dir: "/home/{{ global.user }}/.fluxbenchmark"
conf_file: "/home/{{ global.user }}/.fluxbenchmark/fluxbench.conf"
nvm:
repo: https://raw.githubusercontent.com/nvm-sh/nvm/master/install.sh
node:
version: 16.19.1
ip:
url1: https://api.ipify.org
url2: https://api4.my-ip.io/ip
daemon:
bootstrap_url: http://cdn-9.runonflux.io/apps/fluxshare/getfile/flux_explorer_bootstrap.tar.gz
bootstrap_file: flux_explorer_bootstrap.tar.gz
path: "/home/{{ global.user }}/.flux"
config: "flux.conf"
keyring: /usr/share/keyrings/flux-archive-keyring.gpg
list_file: /etc/apt/sources.list.d/flux
service_name: "zelcash.service"
rpcport: "16124"
port: "16125"
fluxbench_file: "/home/{{ global.user }}/.fluxbenchmark/fluxbench.conf"
docker:
keyring: /usr/share/keyrings/docker-archive-keyring.gpg
list_file: /etc/apt/sources.list.d/docker
mongo:
keyring: /usr/share/keyrings/mongodb-archive-keyring.gpg
path: https://pgp.mongodb.com/server-7.0.asc
list: /etc/apt/sources.list.d/mongodb-org
path4: https://pgp.mongodb.com/server-4.4.asc
list4: /etc/apt/sources.list.d/mongodb-org-4.4
mongo4:
packages:
- name: mongodb-org
version: 4.4.18
- name: mongodb-org-server
version: 4.4.18
- name: mongodb-org-shell
version: 4.4.18
- name: mongodb-org-mongos
version: 4.4.18
- name: mongodb-org-tools
version: 4.4.18
apt:
packages:
required:
- software-properties-common
- ca-certificates
- nano
- htop
- pwgen
- ufw
- figlet
- tmux
- jq
- zip
- gzip
- pv
- unzip
- git
- build-essential
- libtool
- pkg-config
- libc6-dev
- m4
- g++-multilib
- autoconf
- ncurses-dev
- wget
- curl
- bc
- bsdmainutils
- automake
- fail2ban
yolo:
- python-zmq
logrotate:
service:
- name: "bench_debug_log"
path: "/home/{{ global.user }}/.fluxbench/debug.log"
rotate: "monthly"
number: "2"
- name: "daemon_debug_log"
path: "/home/{{ global.user }}/.flux/debug.log"
rotate: "daily"
number: "7"
- name: "mongod_debug_log"
path: "/var/log/mongodb/*.log"
rotate: "daily"
number: "14"
legacy:
- name: "docker_debug_log"
path: "/var/lib/docker/containers/*/*.log"
rotate: "daily"
number: "7"
ufw:
allow_out:
- 123
- 80
- 8080
- 443
- 53
- 16125
allow_in:
- 80
- 443
- 16125