-
Notifications
You must be signed in to change notification settings - Fork 162
Expand file tree
/
Copy pathcommit-boost.tmpl
More file actions
34 lines (33 loc) · 1.04 KB
/
commit-boost.tmpl
File metadata and controls
34 lines (33 loc) · 1.04 KB
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
# 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/commit-boost.yml`.
#
# See https://docs.docker.com/compose/extends/#adding-and-overriding-configuration
# for more information on overriding specific parameters of docker-compose files.
services:
commit-boost:
image: {{.CommitBoost.ContainerTag}}
container_name: {{.Smartnode.ProjectName}}_commit-boost
restart: unless-stopped
ports: [{{.GetCommitBoostOpenPorts}}]
volumes:
- {{.RocketPoolDirectory}}/scripts:/setup:ro
- {{.RocketPoolDirectory}}/runtime/cb_config.toml:/cb_config.toml:ro
networks:
- net
environment:
- NETWORK={{.Smartnode.Network}}
- COMMIT_BOOST_PORT={{.CommitBoost.Port}}
entrypoint: sh
command: "/setup/start-commit-boost.sh"
cap_drop:
- all
cap_add:
- dac_override
security_opt:
- no-new-privileges
networks:
net:
{{- if .IsIPv6Enabled}}
enable_ipv6: true
{{- end}}