changed dockerfile for hub-server, copied files for Hub and dispatch-server

This commit is contained in:
PxlLoewe
2025-05-27 01:07:04 -07:00
parent aeace37f9c
commit f54d3ab040
7 changed files with 384 additions and 23 deletions

37
.env.prod Normal file
View File

@@ -0,0 +1,37 @@
# Allgemein / NextAuth
NEXTAUTH_URL=http://localhost:3000
NEXTAUTH_COOKIE_PREFIX=HUB
NEXTAUTH_SECRET=var
NEXTAUTH_HUB_SECRET=var-hub-secret
# Datenbank
DATABASE_URL=postgresql://persistant-data:persistant-data-pw@postgres:5432/var
# Discord
DISCORD_OAUTH_CLIENT_ID=
DISCORD_OAUTH_SECRET=
DISCORD_BOT_TOKEN=
NEXT_PUBLIC_DISCORD_URL=
DISCORD_REDIRECT=
# Moodle
MOODLE_PW=var-api-user-P1
MOODLE_TOKEN=ac346f0324647b68488d13fd52a9bbe8
NEXT_PUBLIC_MOODLE_URL=http://localhost:8081
# Hub Server
NEXT_PUBLIC_HUB_SERVER_URL=http://localhost:3003
# Dispatch Server
NEXT_PUBLIC_DISPATCH_SERVER_URL=http://localhost:3001
# Livekit
NEXT_PUBLIC_LIVEKIT_URL=http://localhost:7880
LIVEKIT_API_KEY=
LIVEKIT_API_SECRET=
# HUB Server
HUB_API_PORT=3000
# Redis (Beispiel)
REDIS_URL=redis://localhost:6379