This commit is contained in:
simon.franken
2026-02-16 17:12:47 +01:00
parent a9228d19c8
commit fc06dac40e
11 changed files with 49 additions and 46 deletions

View File

@@ -1,5 +1,3 @@
version: '3.8'
services:
db:
image: postgres:16-alpine
@@ -25,11 +23,11 @@ services:
DATABASE_URL: "postgresql://timetracker:timetracker_password@db:5432/timetracker"
OIDC_ISSUER_URL: ${OIDC_ISSUER_URL}
OIDC_CLIENT_ID: ${OIDC_CLIENT_ID}
OIDC_REDIRECT_URI: "http://localhost:3001/api/auth/callback"
OIDC_REDIRECT_URI: "${API_URL}/auth/callback"
SESSION_SECRET: ${SESSION_SECRET}
PORT: 3001
NODE_ENV: production
FRONTEND_URL: "http://localhost:5173"
APP_URL: "${APP_URL}"
ports:
- "3001:3001"
depends_on:
@@ -40,8 +38,8 @@ services:
build:
context: ./frontend
dockerfile: Dockerfile
environment:
VITE_API_URL: "http://localhost:3001"
args:
- VITE_API_URL=${API_URL}
ports:
- "5173:80"
depends_on: