-
Notifications
You must be signed in to change notification settings - Fork 162
Expand file tree
/
Copy pathapi.tmpl
More file actions
33 lines (32 loc) · 959 Bytes
/
api.tmpl
File metadata and controls
33 lines (32 loc) · 959 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
29
30
31
32
33
# 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/api.yml`.
#
# See https://docs.docker.com/compose/extends/#adding-and-overriding-configuration
# for more information on overriding specific parameters of docker-compose files.
services:
api:
image: {{.Smartnode.GetSmartnodeContainerTag}}
container_name: {{.Smartnode.ProjectName}}_api
restart: unless-stopped
stop_signal: SIGKILL
stop_grace_period: 1s
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- {{.RocketPoolDirectory}}:/.rocketpool
- {{.Smartnode.DataPath}}:/.rocketpool/data
networks:
- net
entrypoint: /bin/sleep
command: "infinity"
cap_drop:
- all
cap_add:
- dac_override
security_opt:
- no-new-privileges
networks:
net:
{{- if .IsIPv6Enabled}}
enable_ipv6: true
{{- end}}