bla commited on
Commit
469b653
·
verified ·
1 Parent(s): 3abc4f0

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +25 -0
Dockerfile CHANGED
@@ -59,4 +59,29 @@ EXPOSE 7860
59
  ENV CACHE_REDIS_ENABLED=false \
60
  CACHE_LOCAL_ENABLED=false
61
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
62
  CMD ["/evolution/debug-start.sh"]
 
59
  ENV CACHE_REDIS_ENABLED=false \
60
  CACHE_LOCAL_ENABLED=false
61
 
62
+ # Database save settings
63
+ ENV DATABASE_SAVE_DATA_INSTANCE=true \
64
+ DATABASE_SAVE_DATA_NEW_MESSAGE=true \
65
+ DATABASE_SAVE_MESSAGE_UPDATE=true \
66
+ DATABASE_SAVE_DATA_CONTACTS=true \
67
+ DATABASE_SAVE_DATA_CHATS=true
68
+
69
+ # Instance settings
70
+ ENV DEL_INSTANCE=false \
71
+ DEL_TEMP_INSTANCES=true
72
+
73
+ # QR Code
74
+ ENV QRCODE_LIMIT=30 \
75
+ QRCODE_COLOR=#198754
76
+
77
+ # Logging
78
+ ENV LOG_LEVEL=ERROR \
79
+ LOG_COLOR=false \
80
+ LOG_BAILEYS=error
81
+
82
+ # CORS
83
+ ENV CORS_ORIGIN=* \
84
+ CORS_METHODS=GET,POST,PUT,DELETE \
85
+ CORS_CREDENTIALS=true
86
+
87
  CMD ["/evolution/debug-start.sh"]