diff --git a/group_vars/all.yml.sample b/group_vars/all.yml.sample index 7d27670..1de9e29 100644 --- a/group_vars/all.yml.sample +++ b/group_vars/all.yml.sample @@ -29,4 +29,9 @@ vaultwarden: admin_token: token gitea: - runner_registration_token: token \ No newline at end of file + runner_registration_token: token + +# Use for game in ryot +amazon: + client_id: client_id + client_secret: client_secret diff --git a/roles/ryot/templates/docker-compose.yml.j2 b/roles/ryot/templates/docker-compose.yml.j2 index 7898cfc..ca6af4f 100644 --- a/roles/ryot/templates/docker-compose.yml.j2 +++ b/roles/ryot/templates/docker-compose.yml.j2 @@ -27,6 +27,8 @@ services: - proxy environment: - DATABASE_URL=postgres://postgres:postgres@postgres:5432/postgres + - VIDEO_GAMES_TWITCH_CLIENT_ID={{ amazon.client_id }} + - VIDEO_GAMES_TWITCH_CLIENT_SECRET={{ amazon.client_secret }} labels: - "traefik.enable=true" - "traefik.http.routers.ryot-secure.entrypoints=https"