Add networks
This commit is contained in:
parent
163e585bc8
commit
cc03de247f
1 changed files with 7 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue