Skip to content
  • Hjem
  • Seneste
  • Etiketter
  • Populære
  • Verden
  • Bruger
  • Grupper
Temaer
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Kollaps
FARVEL BIG TECH
  1. Forside
  2. Technical Support
  3. Share NodeBB setup between Devices

Share NodeBB setup between Devices

Planlagt Fastgjort Låst Flyttet Technical Support
6 Indlæg 2 Posters 0 Visninger
  • Ældste til nyeste
  • Nyeste til ældste
  • Most Votes
Svar
  • Svar som emne
Login for at svare
Denne tråd er blevet slettet. Kun brugere med emne behandlings privilegier kan se den.
  • rp1@community.nodebb.orgR This user is from outside of this forum
    rp1@community.nodebb.orgR This user is from outside of this forum
    rp1@community.nodebb.org
    wrote sidst redigeret af
    #1

    Hello, I am working in the team on NodeBB project. I’ve already installed some plugins such as nodebb-plugin-session-sharing and nodebb-plugin-sso-oauth2-multiple. They require some setup for it. I want to share my current with my coworkers and I don’t know how to do it, I’d be very thankful for any help.

    Right now, there is a clonned github repo with one main branch. When I check the file changes, there are more than 5k. I am not sure if I pushed all of them, they would sync up my changes.

    Therefore, what should I do?

    1 Reply Last reply
    1
    0
    • System shared this topic
    • ashutosh-verma@community.nodebb.orgA This user is from outside of this forum
      ashutosh-verma@community.nodebb.orgA This user is from outside of this forum
      ashutosh-verma@community.nodebb.org
      wrote sidst redigeret af
      #2

      Rp1 maybe you can use docker and share the image with the team

      rp1@community.nodebb.orgR 1 Reply Last reply
      0
      • ashutosh-verma@community.nodebb.orgA ashutosh-verma@community.nodebb.org

        Rp1 maybe you can use docker and share the image with the team

        rp1@community.nodebb.orgR This user is from outside of this forum
        rp1@community.nodebb.orgR This user is from outside of this forum
        rp1@community.nodebb.org
        wrote sidst redigeret af
        #3

        Ashutosh-Verma, good suggestion, however, I am not sure which exact image should I share? And if so, where data is saved?

        ashutosh-verma@community.nodebb.orgA 1 Reply Last reply
        0
        • rp1@community.nodebb.orgR rp1@community.nodebb.org

          Ashutosh-Verma, good suggestion, however, I am not sure which exact image should I share? And if so, where data is saved?

          ashutosh-verma@community.nodebb.orgA This user is from outside of this forum
          ashutosh-verma@community.nodebb.orgA This user is from outside of this forum
          ashutosh-verma@community.nodebb.org
          wrote sidst redigeret af
          #4

          Rp1 Are you famailiar woth Docker compose? I can maybe help with that.

          1 Reply Last reply
          0
          • rp1@community.nodebb.orgR This user is from outside of this forum
            rp1@community.nodebb.orgR This user is from outside of this forum
            rp1@community.nodebb.org
            wrote sidst redigeret af
            #5

            Ashutosh-Verma , yeah, I know a little about it, what exactly do you want to do with it?

            ashutosh-verma@community.nodebb.orgA 1 Reply Last reply
            0
            • rp1@community.nodebb.orgR rp1@community.nodebb.org

              Ashutosh-Verma , yeah, I know a little about it, what exactly do you want to do with it?

              ashutosh-verma@community.nodebb.orgA This user is from outside of this forum
              ashutosh-verma@community.nodebb.orgA This user is from outside of this forum
              ashutosh-verma@community.nodebb.org
              wrote sidst redigeret af ashutosh-verma@community.nodebb.org
              #6

              Rp1 This is my docker-compose.yaml file

              services:
                nodebb:
                  build: .
                  restart: unless-stopped
                  container_name: nodebb
                    default:
                  ports:
                    - '4567:4567' # comment this out if you don't want to expose NodeBB to the host, or change the first number to any port you want
                  volumes:
                    - ./nodebb/nodebb-build:/usr/src/app/build
                    - ./nodebb/nodebb-uploads:/usr/src/app/public/uploads
                    - ./nodebb/nodebb-config:/opt/config
                    - setup.json:/usr/src/app/setup.json
              
                postgres:
                  image: postgres:17.5-alpine
                  restart: unless-stopped
                  environment:
                    POSTGRES_USER: nodebb
                    POSTGRES_PASSWORD: nodebb
                    POSTGRES_DB: nodebb
                  volumes:
                    - ./postgres/postgres-data:/var/lib/postgresql/data
              

              This is my Dockerfile

              FROM ghcr.io/nodebb/nodebb:latest
              
              # Install NodeBB plugins
              # Add the plugins you want to use here
              
              RUN npm install \
                  nodebb-plugin-cards \
                  nodebb-plugin-link-preview \
                  nodebb-plugin-tenor-gif
              
              # Expose the default NodeBB port
              EXPOSE 4567
              
              # The base image should already have the appropriate CMD/ENTRYPOINT
              

              Just run docker compose up -d and you should have the forum up and the entire data should be in the directory itself.

              You can then just share the directory itself with anybody and they will have the exact setup running.

              NOTE: You’ll have to manually create the file setup.json under ./nodebb/install/docker/ BEFORE starting it ,You can get the file from Github here

              1 Reply Last reply
              0
              • System shared this topic
              Svar
              • Svar som emne
              Login for at svare
              • Ældste til nyeste
              • Nyeste til ældste
              • Most Votes


              • Log ind

              • Har du ikke en konto? Tilmeld

              • Login or register to search.
              Powered by NodeBB Contributors
              Graciously hosted by data.coop
              • First post
                Last post
              0
              • Hjem
              • Seneste
              • Etiketter
              • Populære
              • Verden
              • Bruger
              • Grupper