mirror of
https://github.com/stonith404/pingvin-share.git
synced 2025-01-15 01:14:27 -05:00
chore: add smtp environment variables to docker compose
This commit is contained in:
parent
32eaee4236
commit
2c3760e064
3 changed files with 11 additions and 6 deletions
|
@ -1,16 +1,16 @@
|
||||||
# Read what every environment variable does: https://github.com/stonith404/pingvin-share#environment-variables
|
# Read what every environment variable does: https://github.com/stonith404/pingvin-share#environment-variables
|
||||||
|
|
||||||
# GENERAL
|
# General
|
||||||
APP_URL=http://localhost:3000
|
APP_URL=http://localhost:3000
|
||||||
SHOW_HOME_PAGE=true
|
SHOW_HOME_PAGE=true
|
||||||
ALLOW_REGISTRATION=true
|
ALLOW_REGISTRATION=true
|
||||||
ALLOW_UNAUTHENTICATED_SHARES=false
|
ALLOW_UNAUTHENTICATED_SHARES=false
|
||||||
MAX_FILE_SIZE=1000000000
|
MAX_FILE_SIZE=1000000000
|
||||||
|
|
||||||
# SECURITY
|
# Security
|
||||||
JWT_SECRET=long-random-string
|
JWT_SECRET=long-random-string
|
||||||
|
|
||||||
# EMAIL
|
# Email
|
||||||
EMAIL_RECIPIENTS_ENABLED=false
|
EMAIL_RECIPIENTS_ENABLED=false
|
||||||
SMTP_HOST=smtp.example.com
|
SMTP_HOST=smtp.example.com
|
||||||
SMTP_PORT=587
|
SMTP_PORT=587
|
||||||
|
|
|
@ -1,13 +1,13 @@
|
||||||
# CONFIGURATION
|
# General
|
||||||
APP_URL=http://localhost:3000
|
APP_URL=http://localhost:3000
|
||||||
ALLOW_REGISTRATION=true
|
ALLOW_REGISTRATION=true
|
||||||
MAX_FILE_SIZE=5000000000
|
MAX_FILE_SIZE=5000000000
|
||||||
ALLOW_UNAUTHENTICATED_SHARES=false
|
ALLOW_UNAUTHENTICATED_SHARES=false
|
||||||
|
|
||||||
# SECURITY
|
# Security
|
||||||
JWT_SECRET=random-string
|
JWT_SECRET=random-string
|
||||||
|
|
||||||
# Email configuration
|
# Email
|
||||||
EMAIL_RECIPIENTS_ENABLED=false
|
EMAIL_RECIPIENTS_ENABLED=false
|
||||||
SMTP_HOST=smtp.example.com
|
SMTP_HOST=smtp.example.com
|
||||||
SMTP_PORT=587
|
SMTP_PORT=587
|
||||||
|
|
|
@ -12,5 +12,10 @@ services:
|
||||||
- ALLOW_UNAUTHENTICATED_SHARES=${ALLOW_UNAUTHENTICATED_SHARES}
|
- ALLOW_UNAUTHENTICATED_SHARES=${ALLOW_UNAUTHENTICATED_SHARES}
|
||||||
- MAX_FILE_SIZE=${MAX_FILE_SIZE}
|
- MAX_FILE_SIZE=${MAX_FILE_SIZE}
|
||||||
- JWT_SECRET=${JWT_SECRET}
|
- JWT_SECRET=${JWT_SECRET}
|
||||||
|
- EMAIL_RECIPIENTS_ENABLED=${EMAIL_RECIPIENTS_ENABLED}
|
||||||
|
- SMTP_HOST=${SMTP_HOST}
|
||||||
|
- SMTP_PORT=${SMTP_PORT}
|
||||||
|
- SMTP_EMAIL=${SMTP_EMAIL}
|
||||||
|
- SMTP_PASSWORD=${SMTP_PASSWORD}
|
||||||
volumes:
|
volumes:
|
||||||
- "${PWD}/data:/opt/app/backend/data"
|
- "${PWD}/data:/opt/app/backend/data"
|
||||||
|
|
Loading…
Add table
Reference in a new issue