diff --git a/rancher/docker-compose.yml b/rancher/docker-compose.yml new file mode 100644 index 0000000..35fc3b8 --- /dev/null +++ b/rancher/docker-compose.yml @@ -0,0 +1,10 @@ +name: rancher +services: + rancher: + restart: unless-stopped + ports: + - 7080:80 + - 7443:443 + privileged: true + image: rancher/rancher:latest + command: --acme-domain rancher.sectorq.eu \ No newline at end of file diff --git a/semaphore/config.conf b/semaphore/config.conf new file mode 100644 index 0000000..96e9b89 --- /dev/null +++ b/semaphore/config.conf @@ -0,0 +1,29 @@ +{ + "mysql": { + "host": "db:3306", + "user": "semaphore_user", + "pass": "StrongPassw0rd", + "name": "semaphore_db" + }, + "dialect": "mysql", + "tmp_path": "/tmp/semaphore", + "cookie_hash": "mWjb9iAV2NMjvwyeS02kZysD/mEAX3pSiKLFQnrT7Z0=", + "cookie_encryption": "nnNaB+gZtrjr1z5xPfsq58zGtwcvtIHVm4g5LUeOEEY=", + "access_key_encryption": "bdEQwjNhSqXOtdd5eLG/BMn7hpIVftaobmyCQDyyQNE=", + + "oidc_providers": { + "authentik": { + "display_name": "Sign in with MySSO", + "color": "orange", + "icon": "login", + "provider_url": "https://auth.sectorq.eu/application/o/semaphore/", + "client_id": "qQ377Vp5RZ7kGsaYOvKVJE7gFGozip7vwwsD5Kgg", + "client_secret": "Tf5h54NnevOwo9QvlhOTAeo7xpsrQjrXYCqMLZwiAhQ6bthX9qydUNsrEMWVOTQ7uBfQw2piHmmYmm5uYSTLa4SGi8TkT03OvsMeAotwXo3me9gYMgIAMk464lVGA2XM", + "redirect_url": "https://semaphore.sectorq.eu/api/auth/oidc/authentik/redirect/", + "scopes": ["openid", "profile", "email"], + "username_claim": "preferred_username", + "name_claim": "preferred_username" + } + } + + } \ No newline at end of file