From a8304ce34a4ca74440587798b7c9f6bff79fd326 Mon Sep 17 00:00:00 2001 From: PrivLol Date: Sat, 21 Dec 2024 15:32:57 -0500 Subject: [PATCH] Fixed according to report --- templates/compose/nodebb.yaml | 44 +++++++++++++++-------------------- 1 file changed, 19 insertions(+), 25 deletions(-) diff --git a/templates/compose/nodebb.yaml b/templates/compose/nodebb.yaml index dba35ee6b..ba964c832 100644 --- a/templates/compose/nodebb.yaml +++ b/templates/compose/nodebb.yaml @@ -1,4 +1,3 @@ -# ignore: false # documentation: https://docs.nodebb.org/ # slogan: A next-generation discussion platform. # tags: communication, forums, discussion @@ -10,27 +9,28 @@ services: image: ghcr.io/nodebb/nodebb:latest restart: unless-stopped environment: - - SERVICE_FQDN_nodebb_4567 + - SERVICE_FQDN_NODEBB_4567 volumes: - nodebb-build:/usr/src/app/build - nodebb-uploads:/usr/src/app/public/uploads - nodebb-config:/opt/config - - type: bind - source: ./.docker/config/setup.json - target: /usr/src/app/setup.json - isDirectory: false - content: | - { - "defaults": { - "postgres": { - "host": "postgres", - "port": 5432, - "database": "nodebb", - "username": "nodebb", - "password": "nodebb" - } + command: > + /bin/bash -c " + cat > /usr/src/app/setup.json <