Skip to content

Commit 2e46213

Browse files
Update docker-compose.yaml
1 parent 1ec9ab5 commit 2e46213

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

docker-compose.yaml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
version: "3.8"
2+
23
services:
34
evolution-api:
4-
container_name: thae_evolution_api # <- Cambiar nombre único por proyecto
55
image: evoapicloud/evolution-api:latest
66
restart: always
77
depends_on:
88
- redis
99
- evolution-postgres
1010
ports:
11-
- "127.0.0.1:8080:8080"
11+
- "127.0.0.1:18080:8080" # DEV: API solo expuesta en localhost por puerto 18080
1212
volumes:
1313
- evolution_instances:/evolution/instances
1414
networks:
@@ -20,18 +20,16 @@ services:
2020
- "8080"
2121

2222
frontend:
23-
container_name: thae_evolution_frontend # <- Agregar nombre único
2423
image: evoapicloud/evolution-manager:latest
2524
restart: always
2625
ports:
27-
- "3001:80"
26+
- "3002:80" # DEV: frontend en 3002 para no chocar con prod
2827
volumes:
2928
- ./nginx.evolution.conf:/etc/nginx/conf.d/nginx.conf:ro
3029
networks:
3130
- evolution-net
3231

3332
redis:
34-
container_name: thae_evolution_redis # <- Cambiar nombre único
3533
image: redis:latest
3634
restart: always
3735
command: >
@@ -49,7 +47,6 @@ services:
4947
- "6379"
5048

5149
evolution-postgres:
52-
container_name: thae_evolution_postgres # <- Cambiar nombre único
5350
image: postgres:15
5451
restart: always
5552
env_file:
@@ -81,6 +78,6 @@ networks:
8178
evolution-net:
8279
name: evolution-net
8380
driver: bridge
84-
external: true # <- Agregar esta línea
81+
external: true
8582
dokploy-network:
8683
external: true

0 commit comments

Comments
 (0)