Skip to content

Commit

Permalink
🔧 Update .env.template (#542)
Browse files Browse the repository at this point in the history
  • Loading branch information
petterhh authored Nov 25, 2024
1 parent 95cd4c9 commit a189537
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 9 deletions.
3 changes: 1 addition & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ version: '3.5'
services:
frontend:
build:
context: ./frontend
dockerfile: ./Dockerfile
dockerfile: Frontend.Dockerfile
container_name: vibes-frontend
ports:
- '3000:3000'
Expand Down
17 changes: 10 additions & 7 deletions frontend/.env.template
Original file line number Diff line number Diff line change
@@ -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
# 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

0 comments on commit a189537

Please sign in to comment.