nineb
Setembro 19, 2025, 1:07am
1
I don’t want a swap. I will risk OOM. Are there command line switches implied here to constrain RAM under 2gigs?
This seems to need to be increased. As @Canapin pointed out with my topic having 4g of ram was not sufficient.
And as I mentioned in my topic the instructions for adding a swap file should be added to git hub install instructions even if just an option if 4g of ram or less.
This instance will have at most 10 users. That’s right. TEN. Likely a frequent THREE users.
The default of 1 GB RAM works fine for small Discourse communities. We recommend 2 GB RAM for larger communities.
# Install Discourse on a Cloud Server
> To install and self-host Discourse, follow the steps below. But if you'd rather skip the setup, maintenance, and server management, our official Discourse hosting takes care of everything for you.
>
> 👉 [Learn more about Discourse hosting](https://discourse.org/pricing)
> If you prefer to self-host but need help setting it up we have partners who can help.
> [Click here to explore self-hosting set-up options](https://discourse.org/partners).
**Set up Discourse in the cloud in under 30 minutes** with zero knowledge of Rails or Linux shell. One example
is [DigitalOcean][do], but these steps will work on any **Docker-compatible** cloud provider or local server. This
walkthrough will go through these in detail:
**[Before you start](#before-you-start)**
1. [Preparing your domain name](#1-preparing-your-domain-name)
2. [Setting up email](#2-setting-up-email)
**[Installation](#installation)**
This file has been truncated. show original
So I provisioned a non-refundable 1c2r. That’s it. No upgrades. Swap takes too much space. So pass.
frustrated
pfaffman
(Jay Pfaffman)
Setembro 19, 2025, 1:28am
2
You probably can’t build a container without swap. You could try creating the swap, building the container, shutting down the container, and removing the swap.
Swap had been a requirement for almost ten years.
You’re really on your own with this. I would advise highly against trying to circumvent the SWAP requirement. You should contact your cloud provider to provision a larger disk for you.
1 curtida