diff --git a/docker-compose.yml b/docker-compose.yml index ecb3aac..25bb49c 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -21,7 +21,10 @@ services: restart: unless-stopped frontend: - build: ./frontend + build: + context: ./frontend + args: + VITE_HOTEL_NAME: ${VITE_HOTEL_NAME} security_opt: - apparmor=unconfined ports: diff --git a/frontend/src/components/AuthGate.tsx b/frontend/src/components/AuthGate.tsx index 74eec42..ef68701 100644 --- a/frontend/src/components/AuthGate.tsx +++ b/frontend/src/components/AuthGate.tsx @@ -125,9 +125,12 @@ export default function AuthGate({ children }: { children: React.ReactNode }) { padding: '2rem', width: '100%', maxWidth: '360px', border: '1px solid var(--surface-2)', }}> -
+ {import.meta.env.VITE_HOTEL_NAME} +