mirror of
https://github.com/EvolutionAPI/evolution-api.git
synced 2025-12-09 09:59:40 -06:00
Update docker-compose.yaml
This commit is contained in:
parent
17f97fb051
commit
419324837c
@ -7,7 +7,7 @@ services:
|
|||||||
restart: always
|
restart: always
|
||||||
depends_on:
|
depends_on:
|
||||||
- redis
|
- redis
|
||||||
- postgres
|
- evolution-postgres
|
||||||
ports:
|
ports:
|
||||||
- "8080:8080"
|
- "8080:8080"
|
||||||
volumes:
|
volumes:
|
||||||
@ -21,48 +21,43 @@ services:
|
|||||||
- "8080"
|
- "8080"
|
||||||
|
|
||||||
redis:
|
redis:
|
||||||
|
container_name: evolution_redis
|
||||||
image: redis:latest
|
image: redis:latest
|
||||||
container_name: redis
|
restart: always
|
||||||
command: >
|
command: >
|
||||||
redis-server --port 6379 --appendonly yes
|
redis-server --port 6379 --appendonly yes
|
||||||
volumes:
|
volumes:
|
||||||
- evolution_redis:/data
|
- evolution_redis:/data
|
||||||
ports:
|
|
||||||
- "6379:6379"
|
|
||||||
expose:
|
|
||||||
- "6379"
|
|
||||||
networks:
|
networks:
|
||||||
- evolution-net
|
- evolution-net
|
||||||
- dokploy-network
|
- dokploy-network
|
||||||
|
expose:
|
||||||
|
- "6379"
|
||||||
|
|
||||||
postgres:
|
evolution-postgres:
|
||||||
container_name: postgres
|
container_name: evolution_postgres
|
||||||
image: postgres:15
|
image: postgres:15
|
||||||
|
restart: always
|
||||||
|
env_file:
|
||||||
|
- .env
|
||||||
command:
|
command:
|
||||||
- postgres
|
- postgres
|
||||||
- -c
|
- -c
|
||||||
- max_connections=1000
|
- max_connections=1000
|
||||||
- -c
|
- -c
|
||||||
- listen_addresses=*
|
- listen_addresses=*
|
||||||
restart: always
|
|
||||||
ports:
|
|
||||||
- "5432:5432"
|
|
||||||
environment:
|
environment:
|
||||||
- POSTGRES_DB=${POSTGRES_DATABASE}
|
POSTGRES_DB: ${POSTGRES_DATABASE}
|
||||||
- POSTGRES_USER=${POSTGRES_USERNAME}
|
POSTGRES_USER: ${POSTGRES_USERNAME}
|
||||||
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
|
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
|
||||||
- POSTGRES_HOST_AUTH_METHOD=trust
|
POSTGRES_HOST_AUTH_METHOD: trust
|
||||||
volumes:
|
volumes:
|
||||||
- postgres_data:/var/lib/postgresql/data
|
- postgres_data:/var/lib/postgresql/data
|
||||||
|
networks:
|
||||||
|
- evolution-net
|
||||||
|
- dokploy-network
|
||||||
expose:
|
expose:
|
||||||
- "5432"
|
- "5432"
|
||||||
networks:
|
|
||||||
evolution-net:
|
|
||||||
aliases:
|
|
||||||
- evolution-postgres
|
|
||||||
dokploy-network:
|
|
||||||
aliases:
|
|
||||||
- evolution-postgres
|
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
evolution_instances:
|
evolution_instances:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user