diff --git a/roles/docker/templates/manyfold-compose.yml.j2 b/roles/docker/templates/manyfold-compose.yml.j2 index 13675c9..74d0357 100644 --- a/roles/docker/templates/manyfold-compose.yml.j2 +++ b/roles/docker/templates/manyfold-compose.yml.j2 @@ -12,23 +12,24 @@ services: # The container path can be anything; you will need to enter it in the "new library" form. - ./models:/models environment: - SECRET_KEY_BASE: {{manyfold_key}} + SECRET_KEY_BASE: {{ vault_manyfold.secret_key }} MULTIUSER: enabled - OIDC_CLIENT_ID: {{ manyfold_oidc_client_id }} - OIDC_CLIENT_SECRET: {{ manyfold_oidc_client_secret }} - OIDC_ISSUER: https://auth.thesatelliteoflove.com/application/o/manyfold/ + OIDC_CLIENT_ID: {{ vault_manyfold.oidc.client_id }} + OIDC_CLIENT_SECRET: {{ vault_manyfold.oidc.client_secret }} + OIDC_ISSUER: https://{{ subdomains.auth }}/application/o/manyfold/ OIDC_NAME: Authentik - PUBLIC_HOSTNAME: models.thesatelliteoflove.com + PUBLIC_HOSTNAME: {{ subdomains.models }} MAX_FILE_UPLOAD_SIZE: 5368709120 PUID: 1000 PGID: 1000 extra_hosts: - - 'auth.thesatelliteoflove.com:172.20.0.5' + - "{{ subdomains.auth }}:{{ docker.hairpin_ip }}" labels: glance.name: Manyfold glance.icon: si:open3d - glance.url: https://models.thesatelliteoflove.com/ + glance.url: https://{{ subdomains.models }}/ glance.description: STL Storage + mag37.dockcheck.update: true restart: unless-stopped # Optional, but recommended for better security security_opt: @@ -44,4 +45,4 @@ services: networks: default: external: true - name: lava \ No newline at end of file + name: "{{ docker.network_name }}" \ No newline at end of file