Skip to content

Commit 365fac1

Browse files
Fix Docker build and remove private config from .env.example
- Change Dockerfile from Python 3.13 to 3.11 (Pillow compatibility, SQLCipher support) - Update Pillow from 10.2.0 to 10.4.0 - Remove private Keycloak credentials from .env.example - Set OIDC_ENABLED=false by default 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <[email protected]>
1 parent 705a2c6 commit 365fac1

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

.env.example

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ SESSION_COOKIE_SECURE=False
4242
# ============================================================================
4343

4444
# Enable OIDC authentication
45-
OIDC_ENABLED=true
45+
OIDC_ENABLED=false
4646

4747
# Allow local username/password authentication as fallback
4848
# Recommended: true (provides backup auth method)
@@ -117,9 +117,9 @@ OIDC_ALLOW_LOCAL_AUTH=true
117117
# 4. Copy Client ID and Client Secret
118118
# 5. Your Keycloak URL format: https://your-keycloak.com/realms/your-realm
119119

120-
KEYCLOAK_CLIENT_ID=myclient
121-
KEYCLOAK_CLIENT_SECRET=http://192.168.1.33:8180/app/*
122-
KEYCLOAK_URL=http://192.168.1.33:8080/realms/master
120+
# KEYCLOAK_CLIENT_ID=your-keycloak-client-id
121+
# KEYCLOAK_CLIENT_SECRET=your-keycloak-client-secret
122+
# KEYCLOAK_URL=https://your-keycloak.com/realms/your-realm
123123

124124
# ----------------------------------------------------------------------------
125125
# GitLab Configuration

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# Multi-stage build for optimized production image
33

44
# Build stage
5-
FROM python:3.13-slim AS builder
5+
FROM python:3.11-slim AS builder
66

77
WORKDIR /app
88

@@ -16,7 +16,7 @@ COPY requirements.txt .
1616
RUN pip install --no-cache-dir --user -r requirements.txt
1717

1818
# Production stage
19-
FROM python:3.13-slim
19+
FROM python:3.11-slim
2020

2121
WORKDIR /app
2222

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ cryptography==42.0.0
99
python-dotenv==1.0.0
1010
requests==2.31.0
1111
openpyxl==3.1.2
12-
Pillow==10.2.0
12+
Pillow==10.4.0

0 commit comments

Comments
 (0)