docker: all env vars moved to .env

This commit is contained in:
He4eT 2025-05-29 22:21:23 +02:00
commit b9e89f999b
2 changed files with 4 additions and 7 deletions

View file

@ -1,6 +1,10 @@
# Strapi
STRAPI_TELEMETRY_DISABLED=true
# Server # Server
HOST=0.0.0.0 HOST=0.0.0.0
PORT=1337 PORT=1337
NODE_ENV=production
# Database # Database
DATABASE_CLIENT=sqlite DATABASE_CLIENT=sqlite

View file

@ -8,11 +8,4 @@ services:
- ./data/uploads:/app/public/uploads - ./data/uploads:/app/public/uploads
env_file: env_file:
- .env - .env
environment:
- NODE_ENV=production
- HOST=0.0.0.0
- PORT=1337
- DATABASE_CLIENT=sqlite
- DATABASE_FILENAME=data/base/sqlite.db
- STRAPI_TELEMETRY_DISABLED=true
restart: unless-stopped restart: unless-stopped