version: "3.3" services: tpnode: restart: unless-stopped container_name: tpnode cap_add: - NET_ADMIN devices: - /dev/net/tun image: thepowerio/tpnode volumes: - type: bind source: /opt/thepower/node.config target: /opt/thepower/node.config read_only: true - type: bind source: /opt/thepower/db target: /opt/thepower/db - type: bind source: /opt/thepower/log target: /opt/thepower/log network_mode: 'host' watchtower: restart: unless-stopped container_name: watchtower image: containrrr/watchtower volumes: - /var/run/docker.sock:/var/run/docker.sock command: --interval 3600 --cleanup