-
Notifications
You must be signed in to change notification settings - Fork 162
Expand file tree
/
Copy pathnode.tmpl
More file actions
28 lines (27 loc) · 902 Bytes
/
node.tmpl
File metadata and controls
28 lines (27 loc) · 902 Bytes
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
# Autogenerated - DO NOT MODIFY THIS FILE DIRECTLY
# If you want to overwrite some of these values with your own customizations,
# please add them to `override/node.yml`.
#
# See https://docs.docker.com/compose/extends/#adding-and-overriding-configuration
# for more information on overriding specific parameters of docker-compose files.
services:
node:
image: {{.Smartnode.GetSmartnodeContainerTag}}
container_name: {{.Smartnode.ProjectName}}_node
restart: unless-stopped
ports: [{{.GetNodeOpenPorts}}]
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- {{.RocketPoolDirectory}}:/.rocketpool
- {{.Smartnode.DataPath}}:/.rocketpool/data
networks:
- net
command: "-m 0.0.0.0 -r {{or .NodeMetricsPort.Value "9102"}} node"
cap_drop:
- all
cap_add:
- dac_override
security_opt:
- no-new-privileges
networks:
net: