Merge branch 'main' of https://github.com/VAR-Virtual-Air-Rescue/var-monorepo
This commit is contained in:
@@ -37,7 +37,7 @@ const PathsOptions = ({
|
|||||||
die Verantwortung für einen reibungslosen Ablauf und der erfolgreichen Durchführung der
|
die Verantwortung für einen reibungslosen Ablauf und der erfolgreichen Durchführung der
|
||||||
Einsätze.
|
Einsätze.
|
||||||
<div className="badge badge-sm badge-secondary mt-3">
|
<div className="badge badge-sm badge-secondary mt-3">
|
||||||
Teilnahme an Einführungsevent Nötig
|
Teilnahme an Einführungsevent nötig
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -109,7 +109,7 @@ export const FirstPath = () => {
|
|||||||
<div className="modal-box w-11/12 max-w-5xl">
|
<div className="modal-box w-11/12 max-w-5xl">
|
||||||
<h3 className="flex items-center gap-2 text-lg font-bold mb-10">
|
<h3 className="flex items-center gap-2 text-lg font-bold mb-10">
|
||||||
{session?.user.migratedFromV1
|
{session?.user.migratedFromV1
|
||||||
? "Hallo, Hier hat sich einiges geändert!"
|
? "Hallo, hier hat sich einiges geändert!"
|
||||||
: "Wähle deinen Einstieg!"}
|
: "Wähle deinen Einstieg!"}
|
||||||
</h3>
|
</h3>
|
||||||
<h2 className="text-2xl font-bold mb-4 text-center">Willkommen bei Virtual Air Rescue!</h2>
|
<h2 className="text-2xl font-bold mb-4 text-center">Willkommen bei Virtual Air Rescue!</h2>
|
||||||
|
|||||||
@@ -80,7 +80,7 @@ export const PasswortReset = () => {
|
|||||||
</span>
|
</span>
|
||||||
<div className="card-actions mt-6">
|
<div className="card-actions mt-6">
|
||||||
<Button disabled={isLoading} isLoading={isLoading} className="btn btn-primary btn-block">
|
<Button disabled={isLoading} isLoading={isLoading} className="btn btn-primary btn-block">
|
||||||
Login
|
neues Passwort zusenden
|
||||||
</Button>
|
</Button>
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
|
|||||||
@@ -1,4 +1,69 @@
|
|||||||
|
networks:
|
||||||
|
default:
|
||||||
|
driver: bridge
|
||||||
|
postgres_network:
|
||||||
|
driver: bridge
|
||||||
|
discord_network:
|
||||||
|
driver: bridge
|
||||||
|
redis_network:
|
||||||
|
driver: bridge
|
||||||
|
traefik:
|
||||||
|
external: true
|
||||||
|
moodle_db_network:
|
||||||
|
driver: bridge
|
||||||
|
|
||||||
services:
|
services:
|
||||||
|
hub:
|
||||||
|
build:
|
||||||
|
context: .
|
||||||
|
dockerfile: ./apps/hub/Dockerfile
|
||||||
|
args:
|
||||||
|
- NEXT_PUBLIC_HUB_URL=$NEXT_PUBLIC_HUB_URL
|
||||||
|
- NEXT_PUBLIC_HUB_SERVER_URL=$NEXT_PUBLIC_HUB_SERVER_URL
|
||||||
|
- NEXT_PUBLIC_DISCORD_URL=$NEXT_PUBLIC_DISCORD_URL
|
||||||
|
- NEXT_PUBLIC_MOODLE_URL=$NEXT_PUBLIC_MOODLE_URL
|
||||||
|
- NEXT_PUBLIC_DISPATCH_URL=$NEXT_PUBLIC_DISPATCH_URL
|
||||||
|
labels:
|
||||||
|
- "traefik.enable=true"
|
||||||
|
- "traefik.http.routers.hub.rule=Host(`hub.premiumag.de`)"
|
||||||
|
- "traefik.http.routers.hub.entrypoints=websecure"
|
||||||
|
- "traefik.http.routers.hub.tls.certresolver=le"
|
||||||
|
- "traefik.http.services.hub.loadbalancer.server.port=3000"
|
||||||
|
ports:
|
||||||
|
- 3000:3000
|
||||||
|
environment:
|
||||||
|
- NEXTAUTH_URL=${AUTH_HUB_URL}
|
||||||
|
- NEXTAUTH_SECRET=${AUTH_HUB_SECRET}
|
||||||
|
env_file:
|
||||||
|
- .env.prod
|
||||||
|
networks:
|
||||||
|
- discord_network
|
||||||
|
- postgres_network
|
||||||
|
- traefik
|
||||||
|
|
||||||
|
hub-server:
|
||||||
|
build:
|
||||||
|
context: .
|
||||||
|
dockerfile: ./apps/hub-server/Dockerfile
|
||||||
|
container_name: hub-server
|
||||||
|
labels:
|
||||||
|
- "traefik.enable=true"
|
||||||
|
- "traefik.http.routers.hub-server.rule=Host(`api.hub.premiumag.de`)"
|
||||||
|
- "traefik.http.routers.hub-server.entrypoints=websecure"
|
||||||
|
- "traefik.http.routers.hub-server.tls.certresolver=le"
|
||||||
|
- "traefik.http.services.hub-server.loadbalancer.server.port=3000"
|
||||||
|
|
||||||
|
env_file:
|
||||||
|
- .env.prod
|
||||||
|
networks:
|
||||||
|
- discord_network
|
||||||
|
- postgres_network
|
||||||
|
- traefik
|
||||||
|
depends_on:
|
||||||
|
postgres:
|
||||||
|
condition: service_healthy
|
||||||
|
|
||||||
|
|
||||||
# Dispatch Service
|
# Dispatch Service
|
||||||
dispatch:
|
dispatch:
|
||||||
build:
|
build:
|
||||||
@@ -69,54 +134,6 @@ services:
|
|||||||
- postgres_network
|
- postgres_network
|
||||||
- discord_network
|
- discord_network
|
||||||
|
|
||||||
hub:
|
|
||||||
build:
|
|
||||||
context: .
|
|
||||||
dockerfile: ./apps/hub/Dockerfile
|
|
||||||
args:
|
|
||||||
- NEXT_PUBLIC_HUB_URL=$NEXT_PUBLIC_HUB_URL
|
|
||||||
- NEXT_PUBLIC_HUB_SERVER_URL=$NEXT_PUBLIC_HUB_SERVER_URL
|
|
||||||
- NEXT_PUBLIC_DISCORD_URL=$NEXT_PUBLIC_DISCORD_URL
|
|
||||||
- NEXT_PUBLIC_MOODLE_URL=$NEXT_PUBLIC_MOODLE_URL
|
|
||||||
- NEXT_PUBLIC_DISPATCH_URL=$NEXT_PUBLIC_DISPATCH_URL
|
|
||||||
labels:
|
|
||||||
- "traefik.enable=true"
|
|
||||||
- "traefik.http.routers.hub.rule=Host(`hub.premiumag.de`)"
|
|
||||||
- "traefik.http.routers.hub.entrypoints=websecure"
|
|
||||||
- "traefik.http.routers.hub.tls.certresolver=le"
|
|
||||||
- "traefik.http.services.hub.loadbalancer.server.port=3000"
|
|
||||||
|
|
||||||
environment:
|
|
||||||
- NEXTAUTH_URL=${AUTH_HUB_URL}
|
|
||||||
- NEXTAUTH_SECRET=${AUTH_HUB_SECRET}
|
|
||||||
env_file:
|
|
||||||
- .env.prod
|
|
||||||
networks:
|
|
||||||
- discord_network
|
|
||||||
- postgres_network
|
|
||||||
- traefik
|
|
||||||
hub-server:
|
|
||||||
build:
|
|
||||||
context: .
|
|
||||||
dockerfile: ./apps/hub-server/Dockerfile
|
|
||||||
container_name: hub-server
|
|
||||||
labels:
|
|
||||||
- "traefik.enable=true"
|
|
||||||
- "traefik.http.routers.hub-server.rule=Host(`api.hub.premiumag.de`)"
|
|
||||||
- "traefik.http.routers.hub-server.entrypoints=websecure"
|
|
||||||
- "traefik.http.routers.hub-server.tls.certresolver=le"
|
|
||||||
- "traefik.http.services.hub-server.loadbalancer.server.port=3000"
|
|
||||||
|
|
||||||
env_file:
|
|
||||||
- .env.prod
|
|
||||||
networks:
|
|
||||||
- discord_network
|
|
||||||
- postgres_network
|
|
||||||
- traefik
|
|
||||||
depends_on:
|
|
||||||
postgres:
|
|
||||||
condition: service_healthy
|
|
||||||
|
|
||||||
docs:
|
docs:
|
||||||
build:
|
build:
|
||||||
context: .
|
context: .
|
||||||
@@ -184,20 +201,6 @@ services:
|
|||||||
- "traefik.http.routers.livekit.service=livekit"
|
- "traefik.http.routers.livekit.service=livekit"
|
||||||
- "traefik.http.services.livekit.loadbalancer.server.port=7880"
|
- "traefik.http.services.livekit.loadbalancer.server.port=7880"
|
||||||
|
|
||||||
networks:
|
|
||||||
default:
|
|
||||||
driver: bridge
|
|
||||||
postgres_network:
|
|
||||||
driver: bridge
|
|
||||||
discord_network:
|
|
||||||
driver: bridge
|
|
||||||
redis_network:
|
|
||||||
driver: bridge
|
|
||||||
traefik:
|
|
||||||
external: true
|
|
||||||
moodle_db_network:
|
|
||||||
driver: bridge
|
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
postgres-data:
|
postgres-data:
|
||||||
moodle_data:
|
moodle_data:
|
||||||
|
|||||||
Reference in New Issue
Block a user