diff --git a/docker-compose.yml b/docker-compose.yml index 4896906d..e857bfe8 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -3,8 +3,7 @@ version: '3.5' services: frontend: build: - context: ./frontend - dockerfile: ./Dockerfile + dockerfile: Frontend.Dockerfile container_name: vibes-frontend ports: - '3000:3000' diff --git a/frontend/.env.template b/frontend/.env.template index 1a587cbb..20bd17b6 100644 --- a/frontend/.env.template +++ b/frontend/.env.template @@ -1,7 +1,10 @@ -AZURE_AD_CLIENT_ID= # App Registrations (Azure portal) -> select app reg -> Copy client ID -AZURE_AD_TENANT_ID= # App Registrations (Azure portal) -> select app reg -> Copy tenant ID -AZURE_AD_APP_SCOPE= # App Registrations (Azure portal) -> select app reg -> Expose an API -> Copy scope ID (i.e. api://oidajwoig/...) -AZURE_AD_CLIENT_SECRET= #Generate from app registration -NEXTAUTH_SECRET= # High-entroy random secret -NEXTAUTH_URL= # i.e. http://localhost:3000 -AZURE_STORAGE_CONNECTION_STRING= # Azure Storage Account vibesdevstorageaccount -> Access Keys -> Connection String \ No newline at end of file +# The values for these environment variables can be copied from the vibes-frontend-dev App Service. +# Go to portal.azure.com -> App Services -> vibes-frontend-dev -> Settings -> Environment variables. +AZURE_AD_CLIENT_ID= +AZURE_AD_TENANT_ID= +AZURE_AD_APP_SCOPE= +AZURE_AD_CLIENT_SECRET= +AZURE_STORAGE_CONNECTION_STRING= +NEXTAUTH_SECRET= + +NEXTAUTH_URL=localhost:3000