Skip to content

Commit be289bd

Browse files
Merge pull request #5 from matheusmartinsInsper/main
feat: Add configurable file/cache storage for authentication state
2 parents 0ebbdbd + 1d5e6cf commit be289bd

22 files changed

+467
-88
lines changed

.env.example

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,8 @@ RABBITMQ_URI=amqp://localhost
4949
RABBITMQ_EXCHANGE_NAME=evolution
5050
# Global events - By enabling this variable, events from all instances are sent in the same event queue.
5151
RABBITMQ_GLOBAL_ENABLED=false
52+
# Prefix key to queue name
53+
RABBITMQ_PREFIX_KEY=evolution
5254
# Choose the events you want to send to RabbitMQ
5355
RABBITMQ_EVENTS_APPLICATION_STARTUP=false
5456
RABBITMQ_EVENTS_INSTANCE_CREATE=false
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
name: Build Docker image
2+
3+
on:
4+
push:
5+
tags:
6+
- "*.*.*"
7+
8+
jobs:
9+
build_deploy:
10+
name: Build and Deploy
11+
runs-on: ubuntu-latest
12+
permissions:
13+
contents: read
14+
packages: write
15+
steps:
16+
- name: Checkout
17+
uses: actions/checkout@v4
18+
19+
- name: Docker meta
20+
id: meta
21+
uses: docker/metadata-action@v5
22+
with:
23+
images: atendai/evolution-api
24+
images: evoapicloud/evolution-api
25+
tags: type=semver,pattern=v{{version}}
26+
27+
- name: Set up QEMU
28+
uses: docker/setup-qemu-action@v3
29+
30+
- name: Set up Docker Buildx
31+
uses: docker/setup-buildx-action@v3
32+
33+
- name: Login to GitHub Container Registry
34+
uses: docker/login-action@v3
35+
with:
36+
username: ${{ secrets.DOCKER_USERNAME }}
37+
password: ${{ secrets.DOCKER_PASSWORD }}
38+
39+
- name: Build and push
40+
id: docker_build
41+
uses: docker/build-push-action@v5
42+
with:
43+
platforms: linux/amd64,linux/arm64
44+
push: true
45+
tags: ${{ steps.meta.outputs.tags }}
46+
labels: ${{ steps.meta.outputs.labels }}
47+
48+
- name: Image digest
49+
run: echo ${{ steps.docker_build.outputs.digest }}

.github/workflows/publish_docker_image_homolog.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
id: meta
2121
uses: docker/metadata-action@v5
2222
with:
23-
images: atendai/evolution-api-lite
23+
images: evoapicloud/evolution-api-lite
2424
tags: homolog
2525

2626
- name: Set up QEMU

.github/workflows/publish_docker_image_latest.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
id: meta
2121
uses: docker/metadata-action@v5
2222
with:
23-
images: atendai/evolution-api-lite
23+
images: evoapicloud/evolution-api-lite
2424
tags: latest
2525

2626
- name: Set up QEMU

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
/dist
33
/node_modules
44

5+
.cursor*
56
/Docker/.env
67

78
.vscode

CHANGELOG.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
# 2.2.3 (2025-02-03 11:52)
2+
3+
### Fixed
4+
5+
* Fix cache in local file system
6+
* Update Baileys Version
7+
8+
# 2.2.2 (2025-01-31 06:55)
9+
10+
### Features
11+
12+
* Added prefix key to queue name in RabbitMQ
13+
14+
### Fixed
15+
16+
* Update Baileys Version
17+
118
# 2.2.1 (2025-01-22 14:37)
219

320
### Features

Docker/swarm/evolution_api_v2.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ version: "3.7"
22

33
services:
44
evolution_v2:
5-
image: atendai/evolution-api-lite:latest
5+
image: evoapicloud/evolution-api:latest
66
volumes:
77
- evolution_instances:/evolution/instances
88
networks:

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ FROM node:20-alpine AS builder
33
RUN apk update && \
44
apk add git wget curl bash openssl
55

6-
LABEL version="2.2.1" description="Api to control whatsapp features through http requests."
6+
LABEL version="2.2.3" description="Api to control whatsapp features through http requests."
77
LABEL maintainer="Davidson Gomes" git="https://github.com/DavidsonGomes"
8-
LABEL contact="contato@atendai.com"
8+
LABEL contact="contato@evolution-api.com"
99

1010
WORKDIR /evolution
1111

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ a. LOGO and copyright information: In the process of using Evolution API's front
88

99
b. Usage Notification Requirement: If Evolution API is used as part of any project, including closed-source systems (e.g., proprietary software), the user is required to display a clear notification within the system that Evolution API is being utilized. This notification should be visible to system administrators and accessible from the system's documentation or settings page. Failure to comply with this requirement may result in the necessity for a commercial license, as determined by the producer.
1010

11-
Please contact contato@atendai.com to inquire about licensing matters.
11+
Please contact contato@evolution-api.com to inquire about licensing matters.
1212

1313
2. As a contributor, you should agree that:
1414

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
<div align="center">
44

5+
[![Docker Image (https://img.shields.io/badge/Docker-Image-blue)](https://hub.docker.com/r/evoapicloud/evolution-api)]
56
[![Whatsapp Group](https://img.shields.io/badge/Group-WhatsApp-%2322BC18)](https://evolution-api.com/whatsapp)
67
[![Discord Community](https://img.shields.io/badge/Discord-Community-blue)](https://evolution-api.com/discord)
78
[![Postman Collection](https://img.shields.io/badge/Postman-Collection-orange)](https://evolution-api.com/postman)

0 commit comments

Comments
 (0)