README.install: complete install iunstructions.

This commit is contained in:
Christoph 2024-01-10 18:03:51 +01:00
parent 1f87a989b8
commit c74cc6bde6

View File

@ -77,3 +77,65 @@ apt install docker-ce
# # apt-get install docker-ce=$VERSION_STRING docker-ce-cli=$VERSION_STRING containerd.io docker-buildx-plugin docker-compose-plugin
#
# ----------
# ---
# 6. Install Discourse
# ---
DC_HOST="discourse.buendnis-pbf.de"
SMTP_HOST="mail.oopen."
SMPT_PORT=465
SMTP_USER="discourse@opferperspektive.de"
SMTP_PASS="Ha4xee-Zae2+pae"
LETS_ENCRYPT_EMAIL_ACCOUNT="ckubu-adm@oopen.de"
# In order to check the connection to discourse.buendnis-pbf.de:443 we
# need to open a socket using netcat.
#
apt install netcat-openbsd
# Clone the Official Discourse Docker Image into /var/discourse.
#
git clone https://github.com/discourse/discourse_docker.git /var/discourse
cd /var/discourse
chmod 700 containers
# ---
# 7. Edit Discourse Configuration
# ---
cd /var/discourse
# Answer the following questions when prompted:
#
# Hostname for your Discourse? [discourse.example.com]: discourse.buendnis-pbf.de
# Email address for admin account(s)? [me@example.com,you@example.com]: discourse@opferperspektive.de
# SMTP server address? [smtp.example.com]: mail.oopen.de
# SMTP port? [587]: 465
# SMTP user name? [user@example.com]: discourse@opferperspektive.de
# SMTP password? [pa$$word]: Ha4xee-Zae2+pae
# Let's Encrypt account email? (ENTER to skip) [me@example.com]: ckubu-adm@oopen.de
# Optional Maxmind License key () [xxxxxxxxxxxxxxxx]: -- NOT SET --
#
./discourse-setup
# ---
# 9. Register New Account and Become Admin
# ---
Email: discourse@opferperspektive.de
Username: admin
Password: T5-sC.IYGd/PrX3z