Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Empty file added config/oidc-clients.json
Empty file.
3 changes: 3 additions & 0 deletions deploy/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ services:
build:
context: ..
dockerfile: Dockerfile
user: root
env_file:
- ./.env
environment:
Expand Down Expand Up @@ -41,7 +42,9 @@ services:
ports:
- "${OIDC_APP_PORT:-3003}:3003"
volumes:
- ../:/app
- ./oidc-clients.json:${OIDC_CLIENTS_CONFIG_PATH:-/app/config/oidc-clients.json}:ro
command: sh -c "corepack enable && pnpm dev"
depends_on:
redis:
condition: service_healthy
Expand Down
30 changes: 27 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
"build:ui": "vite build --config web/vite.config.ts",
"check:env-source": "node scripts/check-single-env-source.mjs",
"dev": "concurrently -k \"pnpm dev:server\" \"pnpm dev:ui\"",
"dev:server": "tsx watch src/main.ts",
"dev:server": "tsx watch --env-file=deploy/.env src/main.ts",
"dev:ui": "vite build --watch --config web/vite.config.ts",
"dev:oidc": "tsx watch src/main.ts",
"dev:oidc": "tsx watch --env-file=deploy/.env src/main.ts",
"docker:build": "docker build -t cqut-auth-oidc .",
"docker:up": "docker compose -f deploy/docker-compose.yml up -d --build",
"docker:down": "docker compose -f deploy/docker-compose.yml down",
Expand All @@ -27,23 +27,47 @@
"format": "prettier --write ."
},
"pnpm": {
"supportedArchitectures": {
"os": [
"current",
"linux"
],
"cpu": [
"current",
"arm64",
"x64"
],
"libc": [
"current",
"musl"
]
},
"overrides": {
"lodash": "^4.18.0",
"path-to-regexp": "^8.4.0"
}
},
"dependencies": {
"@ant-design/icons": "^5.6.1",
"@ant-design/v5-patch-for-react-19": "^1.0.3",
"@refinedev/antd": "^6.0.3",
"@refinedev/core": "^5.0.12",
"@refinedev/react-router": "^2.0.4",
"@tanstack/react-query": "^5.101.2",
"antd": "^5.29.3",
"axios": "^1.18.1",
"axios-cookiejar-support": "^6.0.4",
"dayjs": "^1.11.21",
"express": "^5.1.0",
"ioredis": "^5.8.1",
"jose": "^6.2.2",
"oidc-provider": "^9.7.1",
"pg": "^8.16.3",
"react": "^19.1.1",
"react-dom": "^19.1.1",
"react-router": "^7.18.1",
"react-router-dom": "^7.18.1",
"resend": "^6.10.0",
"swr": "^2.4.2",
"tough-cookie": "^5.1.2"
},
"devDependencies": {
Expand Down
Loading
Loading