Severian commited on
Commit
93dd07b
·
1 Parent(s): 24a6514

Update Dockerfile for correct directory structure

Browse files
Files changed (1) hide show
  1. Dockerfile +21 -2
Dockerfile CHANGED
@@ -136,14 +136,33 @@ ENV FLASK_APP=app.py \
136
  REDIS_HOST=localhost \
137
  REDIS_PORT=6379 \
138
  REDIS_DB=0 \
139
- MAIL_TYPE=smtp \
140
  MAIL_DEFAULT_SENDER=no-reply@dify.ai \
141
  STORAGE_TYPE=local \
142
  STORAGE_LOCAL_PATH=/app/api/storage \
143
  VECTOR_STORE=qdrant \
144
  QDRANT_URL=http://localhost:6333 \
145
  SECRET_KEY=your-secret-key \
146
- SECURITY_PASSWORD_SALT=your-password-salt
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
147
 
148
  # Switch to the non-root user
149
  USER user
 
136
  REDIS_HOST=localhost \
137
  REDIS_PORT=6379 \
138
  REDIS_DB=0 \
139
+ MAIL_TYPE=dummy \
140
  MAIL_DEFAULT_SENDER=no-reply@dify.ai \
141
  STORAGE_TYPE=local \
142
  STORAGE_LOCAL_PATH=/app/api/storage \
143
  VECTOR_STORE=qdrant \
144
  QDRANT_URL=http://localhost:6333 \
145
  SECRET_KEY=your-secret-key \
146
+ SECURITY_PASSWORD_SALT=your-password-salt \
147
+ # SMTP configuration (commented out since we're using dummy mail)
148
+ # SMTP_SERVER=smtp.example.com \
149
+ # SMTP_PORT=587 \
150
+ # SMTP_USERNAME=your-username \
151
+ # SMTP_PASSWORD=your-password \
152
+ # SMTP_USE_TLS=true \
153
+ # Core configuration
154
+ EDITION=SELF_HOSTED \
155
+ DEPLOY_ENV=PRODUCTION \
156
+ # Disable telemetry
157
+ DISABLE_TELEMETRY=true \
158
+ # Debug mode
159
+ DEBUG=false \
160
+ # Log level
161
+ LOG_LEVEL=INFO \
162
+ # Allow demo mode
163
+ DEMO_MODE=false \
164
+ # Disable registration
165
+ DISABLE_REGISTRATION=false
166
 
167
  # Switch to the non-root user
168
  USER user