diff --git a/.env.example b/.env.example index 30e54c81..9f8a569d 100644 --- a/.env.example +++ b/.env.example @@ -6,10 +6,12 @@ # If you know the right URL, you can use it here. # Use any port in WHATSAPP_API_PORT and domain in WHATSAPP_API_HOSTNAME # https://waha.devlike.pro/docs/how-to/config/#common +WAHA_BASE_URL=http://localhost:3000 + #WHATSAPP_API_SCHEMA=http #WHATSAPP_API_PORT=3000 #WHATSAPP_API_HOSTNAME=localhost -#WAHA_BASE_URL=http://localhost:3000 + # # Set your timezone to see the right time on screenshots # Find your timezone name in the list @@ -90,6 +92,17 @@ WHATSAPP_SWAGGER_PASSWORD=admin #WHATSAPP_SWAGGER_TITLE=WAHA API # +# +# PostgresSQL Configuration +# https://waha.devlike.pro/docs/how-to/storages/#sessions---postgresql +#WHATSAPP_SESSIONS_POSTGRESQL_URL=postgres://postgres:postgres@postgres:5432/postgres?sslmode=disable +# +# Media - PostgresSQL Storage +# https://waha.devlike.pro/docs/how-to/storages/#media---postgresql +#WAHA_MEDIA_STORAGE=POSTGRESQL +#WAHA_MEDIA_POSTGRESQL_URL=postgres://postgres:postgres@postgres:5432/postgres?sslmode=disable +# + # # Global Proxy Settings # https://waha.devlike.pro/docs/how-to/config/#global-proxy-configuration @@ -101,22 +114,6 @@ WHATSAPP_SWAGGER_PASSWORD=admin #WHATSAPP_PROXY_SERVER_PASSWORD=pass # -# -# HTTPS Configuration -# https://waha.devlike.pro/docs/how-to/config/#https -# -# Consider using certbot for HTTPS -# https://waha.devlike.pro/blog/setting-up-https-for-waha/#lets-encrypt-certbot--waha -# -#WAHA_HTTPS_ENABLED=true -#WAHA_HTTPS_PATH_KEY=/etc/letsencrypt/live/waha.example.pro/privkey.pem -#WAHA_HTTPS_PATH_CERT=/etc/letsencrypt/live/waha.example.pro/cert.pem \ -#WAHA_HTTPS_PATH_CA=/etc/letsencrypt/live/waha.example.pro/chain.pem -#WHATSAPP_API_SCHEMA=https -#WHATSAPP_API_PORT=3000 -#WHATSAPP_API_HOSTNAME=waha.example.pro -# - # # Media Configuration # @@ -169,14 +166,26 @@ WHATSAPP_FILES_FOLDER=/app/.media # volumes: # - './.sessions:/app/sessions' -# -# PostgresSQL Configuration -# https://waha.devlike.pro/docs/how-to/storages/#sessions---postgresql -#WHATSAPP_SESSIONS_POSTGRESQL_URL=postgres://postgres:postgres@postgres:5432/postgres?sslmode=disable -# # # MongoDB Configuration # https://waha.devlike.pro/docs/how-to/storages/#sessions---mongodb #WHATSAPP_SESSIONS_MONGO_URL=mongodb://mongouser:mongopassword@mongodb:27017 # + +# +# HTTPS Configuration +# https://waha.devlike.pro/docs/how-to/config/#https +# +# Consider using certbot for HTTPS +# https://waha.devlike.pro/blog/setting-up-https-for-waha/#lets-encrypt-certbot--waha +# +#WAHA_HTTPS_ENABLED=true +#WAHA_HTTPS_PATH_KEY=/etc/letsencrypt/live/waha.example.pro/privkey.pem +#WAHA_HTTPS_PATH_CERT=/etc/letsencrypt/live/waha.example.pro/cert.pem \ +#WAHA_HTTPS_PATH_CA=/etc/letsencrypt/live/waha.example.pro/chain.pem +#WHATSAPP_API_SCHEMA=https +#WHATSAPP_API_PORT=3000 +#WHATSAPP_API_HOSTNAME=waha.example.pro +# +