Skip to content

Commit

Permalink
docker-compose
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidsonGomes committed Oct 29, 2024
1 parent c55312d commit 133eddd
Showing 1 changed file with 34 additions and 1 deletion.
35 changes: 34 additions & 1 deletion docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
services:
api:
container_name: evolution_api
image: atendai/evolution-api:v2.0.9-rc
image: atendai/evolution-api:homolog
restart: always
depends_on:
- redis
- postgres
ports:
- 8080:8080
volumes:
Expand All @@ -14,8 +17,38 @@ services:
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"]
restart: always
ports:
- 5432:5432
environment:
- POSTGRES_PASSWORD=PASSWORD
volumes:
- postgres_data:/var/lib/postgresql/data
expose:
- 5432

volumes:
evolution_instances:
evolution_redis:
postgres_data:


networks:
Expand Down

0 comments on commit 133eddd

Please sign in to comment.