networks: proxy_net: name: "proxy-net" external: true services: ocis: container_name: ocis_stvnliu-me image: owncloud/ocis:latest environment: PROXY_TLS: "false" OCIS_URL: "https://ocis.stvnliu.me" OCIS_LOG_LEVEL: info OCIS_EXCLUDE_RUN_SERVICES: idp # Authentik OIDC Issuer Configuration OCIS_OIDC_ISSUER: https://sso.stvnliu.me/application/o/ocis/ WEB_OIDC_CLIENT_ID: web PROXY_CSP_CONFIG_FILE_LOCATION: /etc/ocis/csp.yaml # Auto-provision users in OCIS when logging in via Authentik PROXY_AUTOPROVISION_ACCOUNTS: true PROXY_AUTOPROVISION_CLAIM_USERNAME: preferred_username PROXY_AUTOPROVISION_CLAIM_EMAIL: email PROXY_AUTOPROVISION_CLAIM_DISPLAYNAME: name volumes: - "./config/ocis.yaml:/etc/ocis/ocis.yaml" - "./config/csp.yaml:/etc/ocis/csp.yaml" - "./config/proxy.yaml:/etc/ocis/proxy.yaml" - "./data:/var/lib/ocis" networks: - proxy_net labels: - traefik.enable=true - traefik.http.routers.ocis-stvnliu-me.rule=Host(`ocis.stvnliu.me`) - traefik.http.routers.ocis-stvnliu-me.entrypoints=websecure - traefik.http.routers.ocis-stvnliu-me.tls=true - traefik.http.services.ocis-stvnliu-me.loadbalancer.server.port=9200