mirror of
https://github.com/EvolutionAPI/evolution-api.git
synced 2025-07-23 04:22:02 -06:00
Remove ports mapping in postgres container
This commit is contained in:
parent
dc5c791fde
commit
9fc9901326
@ -1,7 +1,7 @@
|
|||||||
services:
|
services:
|
||||||
api:
|
api:
|
||||||
container_name: evolution_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
|
restart: always
|
||||||
depends_on:
|
depends_on:
|
||||||
- postgres
|
- postgres
|
||||||
@ -38,8 +38,6 @@ services:
|
|||||||
- evolution-net
|
- evolution-net
|
||||||
command: ["postgres", "-c", "max_connections=1000", "-c", "listen_addresses=*"]
|
command: ["postgres", "-c", "max_connections=1000", "-c", "listen_addresses=*"]
|
||||||
restart: always
|
restart: always
|
||||||
ports:
|
|
||||||
- 5432:5432
|
|
||||||
environment:
|
environment:
|
||||||
- POSTGRES_USER=user
|
- POSTGRES_USER=user
|
||||||
- POSTGRES_PASSWORD=nGYh5UIg4cg9Xwec1AeJ
|
- POSTGRES_PASSWORD=nGYh5UIg4cg9Xwec1AeJ
|
||||||
@ -47,13 +45,21 @@ services:
|
|||||||
- POSTGRES_HOST_AUTH_METHOD=trust
|
- POSTGRES_HOST_AUTH_METHOD=trust
|
||||||
volumes:
|
volumes:
|
||||||
- postgres_data:/var/lib/postgresql/data
|
- 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:
|
volumes:
|
||||||
evolution_instances:
|
evolution_instances:
|
||||||
postgres_data:
|
postgres_data:
|
||||||
|
evolution_redis:
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
evolution-net:
|
evolution-net:
|
||||||
|
Loading…
Reference in New Issue
Block a user