feat: kompose secrets
This commit is contained in:
@@ -1,54 +1,44 @@
|
||||
# =================================================================
|
||||
# SEXY Stack Configuration
|
||||
# =================================================================
|
||||
|
||||
# Stack identification
|
||||
COMPOSE_PROJECT_NAME=sexy
|
||||
|
||||
# Docker images
|
||||
# Docker image
|
||||
DOCKER_IMAGE=directus/directus:11.12.0
|
||||
FRONTEND_IMAGE=node:22
|
||||
|
||||
# Database name
|
||||
DB_NAME=directus
|
||||
|
||||
# Traefik hostname
|
||||
TRAEFIK_HOST=sexy.pivoine.art
|
||||
# Traefik configuration
|
||||
TRAEFIK_ENABLED=true
|
||||
TRAEFIK_HOST=${TRAEFIK_HOST_SEXY}
|
||||
|
||||
# App settings
|
||||
# Application port
|
||||
APP_PORT=8055
|
||||
|
||||
# Additional configuration
|
||||
FRONTEND_IMAGE=node:22
|
||||
FRONTEND_PORT=3000
|
||||
|
||||
# Directus secret (generate with: openssl rand -hex 32)
|
||||
DIRECTUS_SECRET=changeme
|
||||
|
||||
# Cache Configuration
|
||||
CACHE_ENABLED=true
|
||||
CACHE_AUTO_PURGE=true
|
||||
|
||||
# Admin credentials
|
||||
ADMIN_PASSWORD=admin
|
||||
|
||||
# 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
|
||||
|
||||
# NOTE: Secrets are stored in root secrets.env file
|
||||
# Available secrets for this stack:
|
||||
# - SEXY_SECRET=CHANGE_ME_GENERATE_WITH_KOMPOSE
|
||||
# - SEXY_ADMIN_PASSWORD=CHANGE_ME_GENERATE_WITH_KOMPOSE
|
||||
|
||||
54
Projects/kompose/sexy/.env.bak
Normal file
54
Projects/kompose/sexy/.env.bak
Normal file
@@ -0,0 +1,54 @@
|
||||
# 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=changeme
|
||||
|
||||
# Cache Configuration
|
||||
CACHE_ENABLED=true
|
||||
CACHE_AUTO_PURGE=true
|
||||
|
||||
# Admin credentials
|
||||
ADMIN_PASSWORD=admin
|
||||
|
||||
# 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
|
||||
Reference in New Issue
Block a user