mirror of
https://github.com/EvolutionAPI/evolution-api.git
synced 2025-07-22 20:12:02 -06:00
Remove ports mapping in postgres container
This commit is contained in:
parent
dc5c791fde
commit
9fc9901326
@ -1,7 +1,7 @@
|
||||
services:
|
||||
api:
|
||||
container_name: evolution_api
|
||||
image: ghcr.io/ai-chat-os/evolution-api:v2.2.1
|
||||
image: atendai/evolution-api:v2.2.3
|
||||
restart: always
|
||||
depends_on:
|
||||
- postgres
|
||||
@ -38,8 +38,6 @@ services:
|
||||
- evolution-net
|
||||
command: ["postgres", "-c", "max_connections=1000", "-c", "listen_addresses=*"]
|
||||
restart: always
|
||||
ports:
|
||||
- 5432:5432
|
||||
environment:
|
||||
- POSTGRES_USER=user
|
||||
- POSTGRES_PASSWORD=nGYh5UIg4cg9Xwec1AeJ
|
||||
@ -47,13 +45,21 @@ services:
|
||||
- POSTGRES_HOST_AUTH_METHOD=trust
|
||||
volumes:
|
||||
- postgres_data:/var/lib/postgresql/data
|
||||
expose:
|
||||
- 5432
|
||||
|
||||
redis:
|
||||
image: redis:7.4.2-alpine
|
||||
networks:
|
||||
- evolution-net
|
||||
container_name: redis
|
||||
command: >
|
||||
redis-server --port 6379 --appendonly yes
|
||||
volumes:
|
||||
- evolution_redis:/data
|
||||
|
||||
volumes:
|
||||
evolution_instances:
|
||||
postgres_data:
|
||||
|
||||
evolution_redis:
|
||||
|
||||
networks:
|
||||
evolution-net:
|
||||
|
Loading…
Reference in New Issue
Block a user