Aniket
(Aniket Ubale)
October 22, 2024, 7:22am
1
Hello,
I have cloned GitHub - discourse/discourse_docker: A Docker image for Discourse 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:
**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)**
3. [Create new cloud server](#3-create-new-cloud-server)
4. [Access new cloud server](#4-access-your-cloud-server)
5. [Install Prerequisites for Docker](#5-install-prerequisites-for-docker-debianubuntu-based-distro-example)
6. [Install Discourse](#6-install-discourse)
7. [Edit Discourse configuration](#7-edit-discourse-configuration)
8. [Start Discourse](#8-start-discourse)
9. [Register new account and become admin](#9-register-new-account-and-become-admin)
10. [Post-install maintenance](#10-post-install-maintenance)
11. [(Optional) Add more Discourse features](#11-optional-add-more-discourse-features)
This file has been truncated. show original
3 Likes
pfaffman
(Jay Pfaffman)
October 22, 2024, 11:07am
3
You can run discourse-setup with the --two-container switch.
1 Like
Aniket
(Aniket Ubale)
October 22, 2024, 11:09am
4
I had tried but not working.
1 Like
pfaffman
(Jay Pfaffman)
October 22, 2024, 11:15am
5
You need to run it when no app.yml exists.
What happens when you try?
1 Like
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.
1 Like
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