feat(auth): enterprise authentication and user management
This commit is contained in:
parent
4bc8b20a21
commit
86a32a942c
36 changed files with 2239 additions and 324 deletions
|
|
@ -3,6 +3,7 @@ services:
|
|||
build:
|
||||
context: ./backend/hermes
|
||||
dockerfile: dockerfile
|
||||
|
||||
container_name: hermes-api
|
||||
restart: unless-stopped
|
||||
|
||||
|
|
@ -11,6 +12,8 @@ services:
|
|||
APP_NAME: Hermes API
|
||||
APP_VERSION: 0.1.0
|
||||
SECRET_KEY: ${SECRET_KEY}
|
||||
ACCESS_TOKEN_EXPIRE_MINUTES: ${ACCESS_TOKEN_EXPIRE_MINUTES:-60}
|
||||
JWT_ISSUER: ${JWT_ISSUER:-hermes}
|
||||
|
||||
ports:
|
||||
- "8000:8000"
|
||||
|
|
@ -22,12 +25,15 @@ services:
|
|||
build:
|
||||
context: ./frontend/athena
|
||||
dockerfile: Dockerfile
|
||||
|
||||
container_name: athena-web
|
||||
restart: unless-stopped
|
||||
|
||||
environment:
|
||||
NODE_ENV: production
|
||||
NEXT_PUBLIC_API_URL: ${NEXT_PUBLIC_API_URL}
|
||||
HERMES_INTERNAL_URL: http://hermes:8000
|
||||
AUTH_COOKIE_SECURE: ${AUTH_COOKIE_SECURE:-false}
|
||||
ATHENA_PUBLIC_ORIGIN: ${ATHENA_PUBLIC_ORIGIN:-http://localhost:3001}
|
||||
|
||||
ports:
|
||||
- "3001:3000"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue