feature(auth): replace clerk.com with custom auth (#103)

* feature(auth): replace clerk.com with custom auth

* minor fixes

* remove notification preferences

* decrease live events interval

fix(api): cookies..

# Conflicts:
#	.gitignore
#	apps/api/src/index.ts
#	apps/dashboard/src/app/providers.tsx
#	packages/trpc/src/trpc.ts
This commit is contained in:
Carl-Gerhard Lindesvärd
2024-12-18 21:30:39 +01:00
committed by Carl-Gerhard Lindesvärd
parent f28802b1c2
commit d31d9924a5
151 changed files with 18484 additions and 12853 deletions

View File

@@ -64,10 +64,18 @@ services:
nofile:
soft: 262144
hard: 262144
# Uncomment to expose ports
# ports:
# - 9000:9000
# - 8123:8123
op-zk:
image: clickhouse/clickhouse-server:24.3.2-alpine
volumes:
- op-zk-data:/var/lib/clickhouse
- ./clickhouse/clickhouse-keeper-config.xml:/etc/clickhouse-server/config.xml
command: [ 'clickhouse-keeper', '--config-file', '/etc/clickhouse-server/config.xml' ]
restart: always
ulimits:
nofile:
soft: 262144
hard: 262144
op-api:
image: lindesvard/openpanel-api:latest
@@ -80,7 +88,6 @@ services:
done
echo 'PostgreSQL is ready'
# Add wait for ClickHouse
echo 'Waiting for ClickHouse to be ready...'
while ! nc -z op-ch 8123; do
sleep 1
@@ -132,3 +139,5 @@ volumes:
driver: local
op-proxy-config:
driver: local
op-zk-data:
driver: local