mirror of
https://github.com/EvolutionAPI/evolution-api.git
synced 2025-07-13 07:04:50 -06:00

- Update Docker image repository to evoapicloud/evolution-api - Modify contact email to contato@evolution-api.com - Update Docker Compose, Dockerfile, and workflow files - Add Docker image badge to README - Include additional content creator in README - Implement message deduplication cache in Baileys service
61 lines
1.1 KiB
YAML
61 lines
1.1 KiB
YAML
services:
|
|
api:
|
|
container_name: evolution_api
|
|
image: evoapicloud/evolution-api:latest
|
|
restart: always
|
|
depends_on:
|
|
- redis
|
|
- postgres
|
|
ports:
|
|
- 8080:8080
|
|
volumes:
|
|
- evolution_instances:/evolution/instances
|
|
networks:
|
|
- evolution-net
|
|
env_file:
|
|
- .env
|
|
expose:
|
|
- 8080
|
|
|
|
redis:
|
|
image: redis:latest
|
|
networks:
|
|
- evolution-net
|
|
container_name: redis
|
|
command: >
|
|
redis-server --port 6379 --appendonly yes
|
|
volumes:
|
|
- evolution_redis:/data
|
|
ports:
|
|
- 6379:6379
|
|
|
|
postgres:
|
|
container_name: postgres
|
|
image: postgres:15
|
|
networks:
|
|
- evolution-net
|
|
command: ["postgres", "-c", "max_connections=1000", "-c", "listen_addresses=*"]
|
|
restart: always
|
|
ports:
|
|
- 5432:5432
|
|
environment:
|
|
- POSTGRES_USER=user
|
|
- POSTGRES_PASSWORD=pass
|
|
- POSTGRES_DB=evolution
|
|
- POSTGRES_HOST_AUTH_METHOD=trust
|
|
volumes:
|
|
- postgres_data:/var/lib/postgresql/data
|
|
expose:
|
|
- 5432
|
|
|
|
volumes:
|
|
evolution_instances:
|
|
evolution_redis:
|
|
postgres_data:
|
|
|
|
|
|
networks:
|
|
evolution-net:
|
|
name: evolution-net
|
|
driver: bridge
|