Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
killua-eu committed Jan 28, 2024
1 parent 4030fee commit b84f247
Show file tree
Hide file tree
Showing 4 changed files with 42 additions and 44 deletions.
64 changes: 33 additions & 31 deletions .env.dist
Original file line number Diff line number Diff line change
@@ -1,37 +1,39 @@
datapath="/var/www/html/data"

mysql_hostname="localhost"
mysql_database="glued"
mysql_username="glued"
mysql_password="glued-pw"

# see crypto lib, key must be of specific size
crypto_secret_mail="..."
crypto_secret_reqparams="..."

smtp_host="mail.example.com"
smtp_user="[email protected]"
smtp_pass="pass"
smtp_from="FROM TEXT"

identity="id.example.com"
identity_realm="my-glued-realm"
identity_admin_id="admin-cli"
identity_admin_user="user"
identity_admin_pass="pass"
identity_confidential_id="new-client"
identity_confidential_secret="some-secret"
identity_public_id="new-client-2"

sqlsrv_hostname="localhot"
sqlsrv_database="database"
sqlsrv_username="login"
sqlsrv_password="pass"

DATAPATH="/var/www/html/data"
HOSTNAME=""

MYSQL_HOSTNAME="127.0.0.1"
MYSQL_DATABASE="glued"
MYSQL_USERNAME="glued"
MYSQL_PASSWORD="glued-pw"

SMTP_HOST="mail.example.com"
SMTP_USER="[email protected]"
SMTP_PASS="pass"
SMTP_FROM="FROM TEXT"

GEOIP=""

IDENTITY="id.example.com"
IDENTITY_REALM="my-glued-realm"
IDENTITY_ADMIN_ID="admin-cli"
IDENTITY_ADMIN_USER="user"
IDENTITY_ADMIN_PASS="pass"
IDENTITY_CONFIDENTIAL_ID="oidc-confidential"
IDENTITY_CONFIDENTIAL_SECRET="some-secret"
IDENTITY_PUBLIC_ID="oidc-public"

# REACT

REACT_APP_ENDPOINT="https://${HOSTNAME}"
REACT_APP_AUTH_TOKEN_ENDPOINT="https://${IDENTITY}/auth/realms/${IDENTITY_REALM}/protocol/openid-connect/token"
REACT_APP_AUTH_ENDPOINT="https://${IDENTITY}/auth/realms/${IDENTITY_REALM}/protocol/openid-connect/auth"
REACT_APP_AUTH_ENDSESSION_ENDPOINT="https://${IDENTITY}/auth/realms/${IDENTITY_REALM}/protocol/openid-connect/logout"
REACT_APP_AUTH_CLIENT_ID="${IDENTITY_PUBLIC_ID}"
CONFIG_NAME="dev"

###
### Generated stuff
###

DATABASE_URL="mysql://${mysql_username}:${mysql_password}@${mysql_hostname}:3306/${mysql_database}"
DATABASE_URL="mysql://${MYSQL_USERNAME}:${MYSQL_PASSWORD}@${MYSQL_HOSTNAME}:3306/${MYSQL_DATABASE}"
GLUED_PROD=1 # this has no meaning here. Will only work when set from environment (disables loading of this file)
9 changes: 9 additions & 0 deletions .github/workflows/todo.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
name: "Run TODO to Issue"
on: ["push"]
jobs:
build:
runs-on: "ubuntu-latest"
steps:
- uses: "actions/checkout@v3"
- name: "TODO to Issue"
uses: "alstr/todo-to-issue-action@v4"
10 changes: 0 additions & 10 deletions package-lock.json

This file was deleted.

3 changes: 0 additions & 3 deletions package.json

This file was deleted.

0 comments on commit b84f247

Please sign in to comment.