mirror of
https://github.com/EvolutionAPI/evolution-api.git
synced 2026-03-21 20:18:40 -06:00
- Remove dokploy-network external network dependency that breaks docker-compose up on fresh installs without the network pre-created - Fix evolution-manager frontend crash by adding nginx.conf with corrected gzip_proxied directive (removes invalid must-revalidate value) - Add missing POSTGRES_DATABASE, POSTGRES_USERNAME, POSTGRES_PASSWORD to .env.example (required by docker-compose postgres service) - Fix DATABASE_CONNECTION_URI hostname from postgres to evolution-postgres to match the docker-compose service name Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
79 lines
1.5 KiB
YAML
79 lines
1.5 KiB
YAML
version: "3.8"
|
|
|
|
services:
|
|
api:
|
|
container_name: evolution_api
|
|
image: evoapicloud/evolution-api:latest
|
|
restart: always
|
|
depends_on:
|
|
- redis
|
|
- evolution-postgres
|
|
ports:
|
|
- "127.0.0.1:8080:8080"
|
|
volumes:
|
|
- evolution_instances:/evolution/instances
|
|
networks:
|
|
- evolution-net
|
|
env_file:
|
|
- .env
|
|
expose:
|
|
- "8080"
|
|
|
|
frontend:
|
|
container_name: evolution_frontend
|
|
image: evoapicloud/evolution-manager:latest
|
|
restart: always
|
|
ports:
|
|
- "3000:80"
|
|
volumes:
|
|
- ./nginx.conf:/etc/nginx/conf.d/nginx.conf:ro
|
|
networks:
|
|
- evolution-net
|
|
|
|
redis:
|
|
container_name: evolution_redis
|
|
image: redis:latest
|
|
restart: always
|
|
command: >
|
|
redis-server --port 6379 --appendonly yes
|
|
volumes:
|
|
- evolution_redis:/data
|
|
networks:
|
|
evolution-net:
|
|
aliases:
|
|
- evolution-redis
|
|
expose:
|
|
- "6379"
|
|
|
|
evolution-postgres:
|
|
container_name: evolution_postgres
|
|
image: postgres:15
|
|
restart: always
|
|
env_file:
|
|
- .env
|
|
command:
|
|
- postgres
|
|
- -c
|
|
- max_connections=1000
|
|
- -c
|
|
- listen_addresses=*
|
|
environment:
|
|
- POSTGRES_DB=${POSTGRES_DATABASE}
|
|
- POSTGRES_USER=${POSTGRES_USERNAME}
|
|
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
|
|
volumes:
|
|
- postgres_data:/var/lib/postgresql/data
|
|
networks:
|
|
- evolution-net
|
|
expose:
|
|
- "5432"
|
|
|
|
volumes:
|
|
evolution_instances:
|
|
evolution_redis:
|
|
postgres_data:
|
|
|
|
networks:
|
|
evolution-net:
|
|
name: evolution-net
|
|
driver: bridge |