fix: join whatsapp-sys network for internal service communication
Adds whatsapp-sys-net (external) so whatsapp-sys containers can reach whatsapp-api-oficial via http://whatsapp-api-oficial:3001 without DNS. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -10,6 +10,9 @@ services:
|
|||||||
- api_zdg_oficial_data:/usr/src/app/data
|
- api_zdg_oficial_data:/usr/src/app/data
|
||||||
expose:
|
expose:
|
||||||
- "3001"
|
- "3001"
|
||||||
|
networks:
|
||||||
|
- default
|
||||||
|
- whatsapp-sys-net
|
||||||
labels:
|
labels:
|
||||||
- traefik.enable=true
|
- traefik.enable=true
|
||||||
- traefik.http.routers.whatsapp-api-oficial.rule=Host(`apimsgoficial.neuralsys.com.br`)
|
- traefik.http.routers.whatsapp-api-oficial.rule=Host(`apimsgoficial.neuralsys.com.br`)
|
||||||
@@ -22,3 +25,9 @@ volumes:
|
|||||||
api_zdg_oficial_data:
|
api_zdg_oficial_data:
|
||||||
external: true
|
external: true
|
||||||
name: api_zdg_oficial_data
|
name: api_zdg_oficial_data
|
||||||
|
|
||||||
|
networks:
|
||||||
|
default: {}
|
||||||
|
whatsapp-sys-net:
|
||||||
|
name: whatsapp-sys_default
|
||||||
|
external: true
|
||||||
|
|||||||
Reference in New Issue
Block a user