docker remove ports

This commit is contained in:
Mario Junqueira 2025-01-15 09:27:10 -05:00
parent 1ebcde65d0
commit 4540a942f0

View File

@ -29,8 +29,8 @@ services:
redis-server --port 6379 --appendonly yes redis-server --port 6379 --appendonly yes
volumes: volumes:
- evolution-redis:/data - evolution-redis:/data
ports: # ports:
- 6379:6379 # - 6379:6379
evolution-postgres: evolution-postgres:
container_name: evolution-postgres container_name: evolution-postgres
@ -39,16 +39,16 @@ services:
- chatwoot-evolution-network - chatwoot-evolution-network
command: [ "postgres", "-c", "max_connections=1000" ] command: [ "postgres", "-c", "max_connections=1000" ]
restart: always restart: always
ports: # ports:
- 5432:5432 # - 5432:5432
environment: environment:
- POSTGRES_USER=${POSTGRES_USER} - POSTGRES_USER=${POSTGRES_USER}
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD} - POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
- POSTGRES_DB=${POSTGRES_DB} - POSTGRES_DB=${POSTGRES_DB}
volumes: volumes:
- evolution-postgres:/var/lib/postgresql/data - evolution-postgres:/var/lib/postgresql/data
expose: # expose:
- 5432 # - 5432
volumes: volumes:
evolution-instances: evolution-instances: