Compare commits

..

No commits in common. "50f053e7db64842c5ee7c9da5146b45c575e347e" and "2dbe34af39a0516bcbfb9e0aecbc8cd465c14a8d" have entirely different histories.

5 changed files with 2 additions and 35 deletions

View File

@ -24,7 +24,7 @@ rules:
indentation: enable
key-duplicates: enable
key-ordering: disable
line-length: disable
line-length: enable
new-line-at-end-of-file: enable
new-lines: enable
octal-values: disable

View File

@ -1,10 +0,0 @@
---
hatecomputers_club_oauth2_scope: "openid,email,profile"
hatecomputers_club_oauth2_auth_url: "https://auth.hatecomputers.club/ui/oauth2"
hatecomputers_club_oauth2_token_url: >
https://auth.hatecomputers.club/oauth2/token
hatecomputers_club_oauth2_user_info_uri: >
https://auth.hatecomputers.club/oauth2/openid/{{ hatecomputers_club_oauth2_client_id }}/userinfo
hatecomputers_club_oauth2_redirect_uri: "https://hatecomputers.club/auth"
hatecomputers_intra_bind_address: "{{ lookup('community.general.dig', inventory_hostname) }}"

View File

@ -16,15 +16,6 @@
group: root
mode: 0700
- name: Allow dns from rfc1918 networks
loop: "{{ rfc1918_networks }}"
community.general.ufw:
port: 53
rule: allow
from: "{{ item }}"
state: "enabled"
proto: "udp"
- name: Enable hatecomputers-club
ansible.builtin.systemd_service:
state: restarted

View File

@ -2,23 +2,13 @@
version: '3'
services:
server:
kanidm:
image: git.hatecomputers.club/hatecomputers/hatecomputers.club:latest
restart: always
ports:
- 127.0.0.1:9696:8080
- {{ hatecomputers_intra_bind_address }}:53:8053/udp
environment:
- CLOUDFLARE_TOKEN={{ cloudflare_api_token }}
- CLOUDFLARE_ZONE={{ cloudflare_zone_id }}
- OAUTH_SCOPES={{ hatecomputers_club_oauth2_scope }}
- OAUTH_AUTH_URL={{ hatecomputers_club_oauth2_auth_url }}
- OAUTH_TOKEN_URL={{ hatecomputers_club_oauth2_token_url }}
- OAUTH_CLIENT_ID={{ hatecomputers_club_oauth2_client_id }}
- OAUTH_CLIENT_SECRET={{ hatecomputers_club_oauth2_client_secret }}
- OAUTH_REDIRECT_URI={{ hatecomputers_club_oauth2_redirect_uri }}
- OAUTH_USER_INFO_URI={{ hatecomputers_club_oauth2_user_info_uri }}
- HCAPTCHA_SITE_KEY={{ hcaptcha_site_key }}
- HCAPTCHA_SECRET={{ hcaptcha_secret }}
volumes:
- ./db:/app/db

View File

@ -10,7 +10,3 @@ gitea_internal_token
drone_gitea_client_id
drone_gitea_client_secret
drone_rpc_secret
hatecomputers_club_oauth2_client_id
hatecomputers_club_oauth2_client_secret
hcaptcha_site_key
hcaptcha_secret