service:
  name: forgejo
  owner_node: piha
  exposure: private
  dependencies: []
  ports:
    - container: 3000
      host: 3000
      protocol: tcp
    - container: 22
      host: 222
      protocol: tcp
  healthcheck:
    type: http
    endpoint: http://localhost:3000/api/healthz
    interval: 1m
    timeout: 10s
    retries: 5
  restart_policy: unless-stopped
  persistence:
    paths:
      - /opt/homelab/data/forgejo/data
  runtime:
    directories:
      - /opt/homelab/data/forgejo/data
    env_vars:
      - USER_UID
      - USER_GID
