55 lines
1.2 KiB
Bash
55 lines
1.2 KiB
Bash
# Stack identification
|
|
COMPOSE_PROJECT_NAME=sexy
|
|
|
|
# Docker images
|
|
DOCKER_IMAGE=directus/directus:11.12.0
|
|
FRONTEND_IMAGE=node:22
|
|
|
|
# Database name
|
|
DB_NAME=directus
|
|
|
|
# Traefik hostname
|
|
TRAEFIK_HOST=sexy.pivoine.art
|
|
|
|
# App settings
|
|
APP_PORT=8055
|
|
FRONTEND_PORT=3000
|
|
|
|
# Directus secret (generate with: openssl rand -hex 32)
|
|
DIRECTUS_SECRET=5c132272-bafe-4f14-8275-baebe9b948f4
|
|
|
|
# Cache Configuration
|
|
CACHE_ENABLED=true
|
|
CACHE_AUTO_PURGE=true
|
|
|
|
# Admin credentials
|
|
ADMIN_PASSWORD=Vixefox81!
|
|
|
|
# WebSocket Configuration
|
|
WEBSOCKETS_ENABLED=true
|
|
|
|
# URL Configuration
|
|
PUBLIC_URL=https://sexy.pivoine.art/api
|
|
|
|
# CORS Configuration
|
|
CORS_ENABLED=true
|
|
CORS_ORIGIN=https://sexy.pivoine.art
|
|
CORS_CREDENTIALS=true
|
|
|
|
# Cookie Configuration
|
|
SESSION_COOKIE_SECURE=true
|
|
SESSION_COOKIE_SAME_SITE=strict
|
|
SESSION_COOKIE_DOMAIN=sexy.pivoine.art
|
|
|
|
# Extensions Configuration
|
|
EXTENSIONS_PATH=./extensions
|
|
EXTENSIONS_AUTO_RELOAD=true
|
|
DIRECTUS_BUNDLE=/var/www/sexy.pivoine.art/packages/bundle
|
|
|
|
# Content Security Policy
|
|
CONTENT_SECURITY_POLICY_DIRECTIVES__FRAME_SRC=https://sexy.pivoine.art
|
|
|
|
# User registration and password reset URLs
|
|
USER_REGISTER_URL_ALLOW_LIST=https://sexy.pivoine.art/signup/verify
|
|
PASSWORD_RESET_URL_ALLOW_LIST=https://sexy.pivoine.art/password/reset
|