mirror of
https://github.com/He4eT/simple-spaceapi.git
synced 2026-05-05 01:47:24 +00:00
docker: all env vars moved to .env
This commit is contained in:
parent
8e2dfb8916
commit
b9e89f999b
2 changed files with 4 additions and 7 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue