1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-23 01:39:27 +02:00
dockerfiles/nodebb/docker-compose.yml

34 lines
630 B
YAML
Raw Normal View History

2022-01-16 05:36:41 +02:00
version: "3.8"
2016-01-16 01:19:42 +02:00
2022-01-16 05:36:41 +02:00
services:
nodebb:
image: vimagick/nodebb
2022-01-16 06:13:12 +02:00
init: true
2022-01-16 05:36:41 +02:00
ports:
- "4567:4567"
volumes:
2022-01-17 10:53:36 +02:00
- nodebb_config:/opt/nodebb/config
- nodebb_build:/opt/nodebb/build
- nodebb_uploads:/opt/nodebb/public/uploads
# /opt/nodebb/node_modules
environment:
- url=http://localhost:4567/
- database=redis
- redis__host=redis
- redis__database=0
2022-01-16 05:36:41 +02:00
depends_on:
- redis
restart: unless-stopped
redis:
image: redis:6-alpine
volumes:
- ./data:/data
restart: unless-stopped
2022-01-17 10:53:36 +02:00
volumes:
nodebb_config:
nodebb_build:
nodebb_uploads: