1
0
Fork 0
mirror of https://github.com/postmannen/ctrl.git synced 2024-12-14 12:37:31 +00:00
ctrl/scripts/steward/create-docker-compose-files/template_docker-compose.yml
2021-10-05 09:25:39 +02:00

26 lines
No EOL
630 B
YAML

version: "3.1"
# docker run -it --rm -v '/home/bt/docker/steward/wireguard:/etc/wireguard' --env-file env.env steward:0.1.6
services:
steward:
build: .
env_file:
- env.env
secrets:
- seed
image: {{.ImageAndVersion}}
restart: always
ports:
- "{{.ExposedProfilingPort}}:6666"
- "{{.ExposedPrometheusPort}}:2111"
- "{{.ExposedDataFolderPort}}:8090"
- "{{.ExposedTcpListenerPort}}:8091"
- "{{.ExposedHttpListenerPort}}:8092"
volumes:
# - {{.NkeySeedFile}}:/app/seed.txt
- {{.SocketFolder}}:/app/tmp/:rw
secrets:
seed:
file: {{.NkeySeedFile}}