node
node copied to clipboard
Not able to run container on docker swarm
this is my docker compose:
version: '3.5'
services:
node:
image: mysteriumnetwork/myst:latest
networks:
- traefik-public
- portainer_agent-network
volumes:
- mystnodes:/var/lib/mysterium-node
cap_add:
- NET_ADMIN
environment:
- ACCEPT_EULA:Y
deploy:
labels:
- --accept-TOS
- --agreed-terms-and-conditions
- "service --agreed-terms-and-conditions"
- ACCEPT_EULA=y
- traefik.enable=true
- traefik.docker.network=traefik-public
- traefik.constraint-label=traefik-public
- traefik.http.routers.mystnodes_node-http.rule=Host(`***`)
- traefik.http.routers.mystnodes_node-http.entrypoints=http
- traefik.http.routers.mystnodes_node-http.middlewares=https-redirect
- traefik.http.routers.mystnodes_node-https.rule=Host(`****`)
- traefik.http.routers.mystnodes_node-https.entrypoints=https
- traefik.http.routers.mystnodes_node-https.tls=true
- traefik.http.routers.mystnodes_node-https.tls.certresolver=le
- traefik.http.services.mystnodes_node.loadbalancer.server.port=4449
- traefik.port=80
volumes:
mystnodes:
driver: local
networks:
traefik-public:
external: true
portainer_agent-network:
external: true
but the container not starting, on the log i see only this :
COPYRIGHT:
Mysterium Node Copyright (C) 2017 The "MysteriumNetwork/node" Authors.
This program comes with ABSOLUTELY NO WARRANTY; for details run command 'license --warranty'.
This is free software, and you are welcome to redistribute it
under certain conditions; run command 'license --conditions' for details.