service:
  name: npm
  owner_node: vps
  exposure: public
  dependencies: []
  ports:
    - container: 80
      host: 80
      protocol: tcp
    - container: 81
      host: 81
      protocol: tcp
    - container: 443
      host: 443
      protocol: tcp
  healthcheck:
    type: http
    endpoint: http://localhost:81
    interval: 30s
    timeout: 10s
    retries: 3
  restart_policy: unless-stopped
  persistence:
    paths:
      - /opt/homelab/data/npm/data
      - /opt/homelab/data/npm/letsencrypt
  runtime:
    directories:
      - /opt/homelab/data/npm/data
      - /opt/homelab/data/npm/letsencrypt
    env_vars: []
