mirror of
https://github.com/EvolutionAPI/evolution-api.git
synced 2025-12-19 03:42:23 -06:00
Compare commits
17 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2fa2bbf847 | ||
|
|
97d0339bdf | ||
|
|
84e03db79d | ||
|
|
a54b38e150 | ||
|
|
ce254548cc | ||
|
|
6a6a1f0a10 | ||
|
|
c9e18ea06f | ||
|
|
264eae5184 | ||
|
|
0a27f6835a | ||
|
|
53627ca9ea | ||
|
|
3c8a3a5219 | ||
|
|
bdadc1c6b7 | ||
|
|
a66233e445 | ||
|
|
1b1f60da9a | ||
|
|
4e78ac9cea | ||
|
|
15adf4463f | ||
|
|
7c2e9f8f4b |
23
CHANGELOG.md
Normal file
23
CHANGELOG.md
Normal file
@@ -0,0 +1,23 @@
|
||||
# 1.0.8 (2023-06-09)
|
||||
|
||||
### Features
|
||||
|
||||
* Added Docker compose file
|
||||
* Added ChangeLog file
|
||||
|
||||
# 1.0.7 (2023-06-08)
|
||||
|
||||
### Features
|
||||
|
||||
* Ghost mention
|
||||
* Mention in reply
|
||||
* Profile photo change
|
||||
* Profile name change
|
||||
* Profile status change
|
||||
* Sending a poll
|
||||
* Creation of LinkPreview if message contains URL
|
||||
* New webhooks system, which can be separated into a url per event
|
||||
* Sending the local webhook url as destination in the webhook data for webhook redirection
|
||||
* Startup modes, server or container
|
||||
* Server Mode works normally as everyone is used to
|
||||
* Container mode made to use one instance per container, when starting the application an instance is already created and the qrcode is generated and it starts sending webhook without having to call it manually, it only allows one instance at a time.
|
||||
@@ -9,8 +9,6 @@ COPY ./package.json .
|
||||
|
||||
ENV DOCKER_ENV=true
|
||||
|
||||
ENV TZ=America/Sao_Paulo
|
||||
|
||||
ENV CORS_ORIGIN="*"
|
||||
ENV CORS_METHODS="POST,GET,PUT,DELETE"
|
||||
ENV CORS_CREDENTIALS=true
|
||||
|
||||
18
docker-compose.yaml
Normal file
18
docker-compose.yaml
Normal file
@@ -0,0 +1,18 @@
|
||||
version: '3.3'
|
||||
|
||||
networks:
|
||||
evolution-net:
|
||||
driver: bridge
|
||||
|
||||
services:
|
||||
base:
|
||||
container_name: evolution_api
|
||||
image: davidsongomes/evolution-api:latest
|
||||
ports:
|
||||
- 8080:8080
|
||||
volumes:
|
||||
- /data/instances:/evolution/instances
|
||||
command: ['node', './dist/src/main.js']
|
||||
|
||||
networks:
|
||||
- evolution-net
|
||||
@@ -58,7 +58,7 @@ DATABASE:
|
||||
DB_PREFIX_NAME: evolution
|
||||
# Choose the data you want to save in the application's database or store
|
||||
SAVE_DATA:
|
||||
INSTANCE: true
|
||||
INSTANCE: false
|
||||
OLD_MESSAGE: false
|
||||
NEW_MESSAGE: true
|
||||
MESSAGE_UPDATE: true
|
||||
@@ -77,7 +77,7 @@ WEBHOOK:
|
||||
URL: <url>
|
||||
ENABLED: true
|
||||
# With this option activated, you work with a url per webhook event, respecting the global url and the name of each event
|
||||
WEBHOOK_BY_EVENTS: true
|
||||
WEBHOOK_BY_EVENTS: false
|
||||
# Automatically maps webhook paths
|
||||
# Set the events you want to hear
|
||||
EVENTS:
|
||||
|
||||
@@ -35,8 +35,6 @@ import {
|
||||
ConfigService,
|
||||
ConfigSessionPhone,
|
||||
Database,
|
||||
Env,
|
||||
Instance,
|
||||
QrCode,
|
||||
Redis,
|
||||
StoreConf,
|
||||
|
||||
Reference in New Issue
Block a user