Aniket
(Aniket Ubale)
October 22, 2024, 7:22am
1
Hello,
I have cloned GitHub - discourse/discourse_docker: A Docker image for Discourse · GitHub inside samples directory i am able to see standalone.yml, web_only.yml so can you guide me for web_only.yml file how to install.
Thanks.
Moin
October 22, 2024, 7:42am
2
There is some information about the two-container setup in this topic :
This is an advanced setup. Don’t follow this unless you are experienced with Linux server administration and Docker.
2 Container Setup for a New Site
NOTE: If you want to create a 2 container site you can do this:
./discourse-setup --two-container
It works just like normal except it’ll create separate data and web_only containers
The general install guide is here:
# 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 about 10 minutes** with zero knowledge of Rails or Linux shell. Works on any Docker-compatible cloud provider or local server.
## Contents
- [Quick Start](#quick-start)
- [Requirements](#requirements)
- [Installation](#installation)
- [The Setup Wizard](#the-setup-wizard)
- [After Installation](#after-installation)
- [Advanced Configuration](#advanced-configuration)
- [Troubleshooting](#troubleshooting)
This file has been truncated. show original
pfaffman
(Jay Pfaffman)
October 22, 2024, 11:07am
3
You can run discourse-setup with the --two-container switch.
Aniket
(Aniket Ubale)
October 22, 2024, 11:09am
4
I had tried but not working.
pfaffman
(Jay Pfaffman)
October 22, 2024, 11:15am
5
You need to run it when no app.yml exists.
What happens when you try?
Aniket
(Aniket Ubale)
October 22, 2024, 12:10pm
6
Now its working fine thanks.., but one issue i have, earlier i have used app.yml file which is standalone setup, now i tried using web_only.yml in that i have configured RDS database and redis url.
now for web_only setup working but unable to load images and logos what i have defined in my earlier setup.
pfaffman
(Jay Pfaffman)
October 22, 2024, 8:55pm
7
You probably need to either move them to web_only or change the bind path in the yml file.
Aniket
(Aniket Ubale)
October 23, 2024, 5:15am
8
instead of using local storage for uploads, how we configure s3 bucket with web_only container