Add networks

This commit is contained in:
Sam Al-Sapti 2025-02-15 17:35:26 +01:00
parent 163e585bc8
commit cc03de247f

View file

@ -13,6 +13,9 @@ services:
app: app:
image: ghcr.io/nodebb/nodebb:{{ services.nodebb.version }} image: ghcr.io/nodebb/nodebb:{{ services.nodebb.version }}
restart: always restart: always
networks:
- default
- external_services
volumes: volumes:
- ./nodebb-uploads:/usr/src/app/public/uploads - ./nodebb-uploads:/usr/src/app/public/uploads
- ./nodebb-config:/opt/config - ./nodebb-config:/opt/config
@ -22,3 +25,7 @@ services:
VIRTUAL_PORT: 4567 VIRTUAL_PORT: 4567
depends_on: depends_on:
- mongodb - mongodb
networks:
external_services:
external: true