--- version: "{{ omni_compose_version | string }}" networks: gitea: name: gitea driver: overlay ipam: driver: default config: - subnet: {{ omni_compose_apps.gitea.networks.main }} volumes: gitea-data: name: datastore{{ omni_compose_apps.gitea.datastore }} driver: glusterfs services: server: image: gitea/gitea:{{ omni_compose_apps.gitea.versions.gitea | default(omni_compose_apps.gitea.versions.default) }} hostname: gitea networks: - gitea ports: - published: {{ omni_compose_apps.gitea.published.ports.3000 }} target: 3000 protocol: tcp mode: ingress - published: {{ omni_compose_apps.gitea.published.ports.22 }} target: 22 protocol: tcp mode: ingress volumes: - type: volume source: gitea-data target: /data read_only: false environment: USER_UID: "{{ omni_compose_apps.gitea.account.uid | string }}" USER_GID: "{{ omni_compose_apps.gitea.account.uid | string }}" APP_NAME: ENP VCS RUN_MODE: prod DOMAIN: jupiter.net.enp.one ROOT_URL: https://{{ omni_compose_apps.gitea.published.host }}/ DB_TYPE: sqlite3 DISABLE_REGISTRATION: "true" deploy: replicas: 1