Initial commit

This commit is contained in:
tajniak81
2026-07-06 08:50:52 +02:00
commit ba3f227361
153 changed files with 18116 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
services:
api-server:
build:
context: .
dockerfile: Dockerfile
image: carcontrol-api
container_name: carcontrol-api
restart: unless-stopped
ports:
- "${PORT:-8080}:8080"
environment:
# Container always listens on 8080; map the host port above.
PORT: "8080"
# External PocketBase instance (all DB access goes through this server).
PB_URL: "${PB_URL:-http://10.2.1.10:8027}"
PB_ADMIN_EMAIL: "${PB_ADMIN_EMAIL}"
PB_ADMIN_PASSWORD: "${PB_ADMIN_PASSWORD}"
CORS_ORIGINS: "${CORS_ORIGINS:-http://localhost:5173}"
AUTH_SECRET: "${AUTH_SECRET}"
AUTH_USERS_COLLECTION: "${AUTH_USERS_COLLECTION:-users}"