Skip to content

Commit

Permalink
Archive nodebb
Browse files Browse the repository at this point in the history
  • Loading branch information
Brutus5000 committed Oct 24, 2024
1 parent c12e888 commit 8f24b09
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 20 deletions.
20 changes: 0 additions & 20 deletions faf-extra.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,26 +19,6 @@ services:
# Mongodump is corrupting the backup file when piping out via stdout
- ./data/mongodb/backup:/backup

#
# Forum software
#
nodebb:
# for instructions how to initialize the setup check the readme in the config.template/faf-nodebb
image: nodebb/docker:1.18.5
restart: unless-stopped
networks:
- faf-extra
- faf # for interaction with the API (OAuth login and user synchronization)
volumes:
- ./config/extra/nodebb/config.json:/usr/src/app/config.json
- ./data/nodebb/node_modules:/usr/src/app/node_modules
- ./data/nodebb/build:/usr/src/app/build
- ./data/nodebb/uploads/:/usr/src/app/public/uploads
labels:
- "traefik.enable=true"
- "traefik.http.routers.faf-nodebb.rule=Host(`forum.${DOMAINNAME}`)"
- "traefik.http.routers.faf-nodebb.entryPoints=websecure"

networks:
faf-extra:
driver: bridge
Expand Down
19 changes: 19 additions & 0 deletions k8s-archive/faf-extra.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,25 @@ services:
- "traefik.http.routers.faf-unitdb.middlewares=unitdb-stripprefix"
- "traefik.http.middlewares.unitdb-stripprefix.stripprefix.prefixes=/faf/unitsDB"

#
# Forum software
#
nodebb:
# for instructions how to initialize the setup check the readme in the config.template/faf-nodebb
image: nodebb/docker:1.18.5
restart: unless-stopped
networks:
- faf-extra
- faf # for interaction with the API (OAuth login and user synchronization)
volumes:
- ./config/extra/nodebb/config.json:/usr/src/app/config.json
- ./data/nodebb/node_modules:/usr/src/app/node_modules
- ./data/nodebb/build:/usr/src/app/build
- ./data/nodebb/uploads/:/usr/src/app/public/uploads
labels:
- "traefik.enable=true"
- "traefik.http.routers.faf-nodebb.rule=Host(`forum.${DOMAINNAME}`)"
- "traefik.http.routers.faf-nodebb.entryPoints=websecure"

#
# Web frontend for voting
Expand Down

0 comments on commit 8f24b09

Please sign in to comment.