Skip to content
  • Docker deployment issue

    Unsolved Technical Support
    1
    0 Votes
    1 Posts
    224 Views
    pedrogaudencioP
    I'm trying to setup a Digital Ocean app using the Dockerfile below - this is based on the original Dockerfile from the Docker container packages. I managed to get this working locally having little changes made to the original Dockerfile, since I'm using a custom template and this is pulled from a public git repo on the NodeBB package.json file, so no major changes from the normal setup. Here's the Dockerfile I'm using: FROM --platform=linux/amd64 node:lts as npm RUN mkdir -p /usr/src/build && \ chown -R node:node /usr/src/build WORKDIR /usr/src/build ARG NODE_ENV=production ENV NODE_ENV $NODE_ENV # nodebb-docker/ folder contains the repo https://github.com/NodeBB/NodeBB COPY --chown=node:node nodebb-docker/install/package.json /usr/src/build/package.json USER node RUN npm install --omit=dev FROM --platform=linux/amd64 node:lts RUN mkdir -p /usr/src/app && \ chown -R node:node /usr/src/app WORKDIR /usr/src/app ARG NODE_ENV ENV NODE_ENV $NODE_ENV COPY --chown=node:node --from=npm /usr/src/build /usr/src/app USER node RUN npm rebuild && \ npm cache clean --force COPY --chown=node:node nodebb-docker /usr/src/app ENV NODE_ENV=production \ daemon=false \ silent=false EXPOSE 4567 CMD test -n "${SETUP}" && ./nodebb setup || node ./nodebb build; node ./nodebb start Even though the build is running successfully (locally and in production) and I can run the container locally, I get this message on failed deployment: [2023-07-27 13:56:26] 2023-07-27T13:56:26.239Z [3] - info: Launching web installer on port 4567 [] Anyone has had this before? Thank you
  • 0 Votes
    4 Posts
    1k Views
    P
    Never mind I was accidentally using the $ sign LOL. Was a long night.
  • 0 Votes
    2 Posts
    3k Views
    Sol BreakGuruz AmarpreetS
    @educator Hi there. Fellow Indian here. I would recommend DigitalOcean over Vultr due to a number of reasons having used both. However there is a 3rd option which is better imo and that is Linode. 2 main reasons. Linode offers double RAM at 10$. You get 2gb RAM instead of 1gb for 10$. What I am getting from your post is that you want a 5$ plan. However it will be insufficient for even a small sized forum. Try going for the 2gb RAM option at Linode. Unless you are a registered business in India you shall have to pay 15% service tax on Digitalocean as of Jan 1 2016. Businesses dont have to pay this tax as long as they dont have a turnover of greater than 10 lacs per annum. This is because DO has officially entered the Indian Market and will need to comply with the Indian Tax authorities. This is not the case of Linode as they dont have an Indian office . This means that the DO plan at 10$ will be more than twice expensive when compared to Linode. Rest is upto you. Feel free to ask anymore questions
  • 0 Votes
    17 Posts
    7k Views
    AtonB117A
    Well, damn. Didnt know that. Okay, Thanks for your phenomenal help, @pichalite. Gonna mess around with this proxying and nginx a bit now that everything is moving forward again.
  • Digital Ocean free t-shirts

    General Discussion
    18
    5 Votes
    18 Posts
    10k Views
    A
    The imported Canadian rug of dreams. - $4000 - Buy Now
  • Can't Install Fresh

    Bug Reports
    9
    0 Votes
    9 Posts
    6k Views
    A
    @Ted said: Run command to change flag responsible for using custom CSS in redis. hset config useCustomCSS 0
  • Digital Ocean now offering Core OS.

    General Discussion
    7
    1 Votes
    7 Posts
    4k Views
    A
    @luke said: @a_5mith Even if you need to update NodeBB? Believe so. Taken from this blog post I'm glad to say that I did end up figuring out the second problem, and NodeBB now comes with a "Reload" functionality in addition to the existing "Restart": The results? Reloads are now transparent and do not kick existing connections off. Admins used to be afraid to swap plugins because a server restart incurred downtime. Not anymore! Occasionally, incompatible plugins break NodeBB. The new reload system will catch errors as they occur, display them to the admin, and continue serving the old assets, meaning NodeBBs will no longer be left dead in the water when a plugin breaks. End users won't notice a reload, as connections are maintained. Restart downtimes are reduced to near-zero, as a parallel instance is started and seamlessly switched over when ready.
  • 0 Votes
    8 Posts
    4k Views
    HentaiH
    @julian Thanks, now it's no problem : )
  • 2 Votes
    5 Posts
    3k Views
    julianJ
    @a_5mith said: 10TOSHIP Yay! @a_5mith "donated" $10 to NodeBB
  • 1 Votes
    23 Posts
    11k Views
    T
    @julian Any clue when this will be? And where can we see the changes?