2 Commits

Author SHA1 Message Date
dfc3f4cd87 fix: add a sane default for CORS trusted origins (127.0.0.1)
All checks were successful
Build and push Docker image / build (push) Successful in 2m50s
Release new version / release (push) Successful in 26s
Update changelog / changelog (push) Successful in 25s
2026-01-21 00:57:39 +01:00
e0d8849bd1 fix: Docker fixes
All checks were successful
Build and push Docker image / build (push) Successful in 2m53s
Release new version / release (push) Successful in 29s
Update changelog / changelog (push) Successful in 24s
2026-01-20 22:29:28 +01:00
3 changed files with 5 additions and 4 deletions

View File

@@ -1,3 +1,4 @@
.env .env
*/.env */.env
*.md build
node_modules

View File

@@ -1,6 +1,6 @@
# Server config # Server config
ACCESS_TOKEN_PRIVATE_KEY=CHANGE_ME_TO_SOMETHING_RANDOM # Used to generate user tokens. Make sure this is pretty random. ACCESS_TOKEN_PRIVATE_KEY=CHANGE_ME_TO_SOMETHING_RANDOM # Used to generate user tokens. Make sure this is pretty random.
TRUSTED_ORIGINS=http://localhost:6568 # Comma separated list of trusted origins. Make sure to include your PUBLIC_URL here. TRUSTED_ORIGINS=http://localhost:6568,http://127.0.0.1:6568 # Comma separated list of trusted origins. Make sure to include your PUBLIC_URL here.
# TypeORM specific # TypeORM specific
# Please make sure these match with docker-compose.yml, or your own postgres server. # Please make sure these match with docker-compose.yml, or your own postgres server.

View File

@@ -4,7 +4,7 @@ FROM node:24-trixie-slim AS builder
WORKDIR /app WORKDIR /app
COPY package*.json ./ COPY package*.json ./
RUN npm ci --only=production && npm cache clean --force RUN npm ci && npm cache clean --force
COPY . . COPY . .
FROM node:24-trixie-slim AS production FROM node:24-trixie-slim AS production