Skip to content

Commit 5dbf134

Browse files
authored
add REDIRECT_URI to .env.template (#105)
1 parent 2d83eca commit 5dbf134

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.env.template

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ APP_PORT=8000
77
# API Configuration
88
API_WORKERS=1
99
FRONTEND_URL=your_frontend_url
10+
REDIRECT_URI=http://localhost:8000/api/auth/callback
1011

1112
# Database Configuration
1213
POSTGRES_USER=admin

docker-compose.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ services:
1212
- postgres_data:/var/lib/postgresql/data
1313
restart: unless-stopped
1414
network_mode: host
15-
15+
1616
redis:
1717
image: redis:alpine
1818
container_name: redis
@@ -78,7 +78,7 @@ services:
7878
- OIDC_CLIENT_SECRET=${OIDC_CLIENT_SECRET}
7979
- OIDC_SERVER_URL=http://localhost:${KEYCLOAK_PORT}
8080
- OIDC_REALM=${OIDC_REALM}
81-
- REDIRECT_URI=http://localhost:${APP_PORT}/auth/callback
81+
- REDIRECT_URI=${REDIRECT_URI}
8282
- POSTGRES_USER=${POSTGRES_USER}
8383
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
8484
- POSTGRES_DB=${POSTGRES_DB}

0 commit comments

Comments
 (0)