Actually just get it working real fast

pull/1/head
Luke Murphy 2 years ago
parent 222a8e6809
commit cba80a139d
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC
  1. 21
      .drone.yml
  2. 2
      README.md
  3. 2
      docker-compose.prod.yml
  4. 6
      forward.ini.tmpl

@ -1,21 +0,0 @@
---
kind: pipeline
name: deploy to swarm.autonomic.zone
steps:
- name: deployment
image: decentral1se/drone-stack:19.03.8
settings:
compose: docker-compose.prod.yml
host: tcp://swarm.autonomic.zone:2376
stack_name: traefik-forward-auth
tlsverify: true
environment:
PLUGIN_CACERT:
from_secret: docker_cacert
PLUGIN_CERT:
from_secret: docker_cert
PLUGIN_KEY:
from_secret: docker_key
trigger:
branch:
- master

@ -1,5 +1,3 @@
# traefik-forward-auth
> https://github.com/thomseddon/traefik-forward-auth
WIP.

@ -11,8 +11,6 @@ services:
- proxy
environment:
- CONFIG=/etc/forward.ini
- COOKIE_DOMAIN=???
- AUTH_HOST=???
secrets:
- oidc-client-id-v1
- oidc-client-secret-v1

@ -1,7 +1,7 @@
secret = {{ secret "secret-nonce-v1" }}
log-level = {{ env "log-level-v1" }}
cookie-domain = {{ env "COOKIE_DOMAIN" }}
auth-host = {{ env "AUTH_HOST" }}
log-level = info
cookie-domain = swarm.autonomic.zone
auth-host = auth.swarm.autonomic.zone
default-provider = oidc
providers.oidc.issuer-url = {{ secret "oidc-issuer-url-v1" }}