From: Alviro Iskandar Setiawan <[email protected]>
To: Ammar Faizi <[email protected]>,
Michael William Jonathan <[email protected]>
Cc: Alviro Iskandar Setiawan <[email protected]>,
GNU/Weeb Mailing List <[email protected]>
Subject: [PATCH server-haj002 v1 0/6] Server update and new service elk.gnuweeb.org
Date: Thu, 13 Jul 2023 17:28:44 +0200 [thread overview]
Message-ID: <[email protected]> (raw)
Greetings,
This series contains server-haj002 fixes and a new service called
elk.gnuweeb.org as requested by chief in https://t.me/GNUWeeb/807595
elk is a nimble Mastodon web client. While it's currently not a
widely used app, it's already quite usable. More detail here:
https://github.com/elk-zone/elk
The elk service for GNU/Weeb is now up and ready to use at:
https://elk.gnuweeb.org
There are 6 pathces in this series, summary:
# 1. Allow trusted traffic from/to local addresses.
Simplify iptables rules by allowing INPUT traffic from these CIDR
ranges:
ip:
10.0.0.0/8
192.168.0.0/16
172.16.0.0/12
ip6:
fc00::/7
Also, allow FORWARD from/to them.
# 2. Properly enable IPv6 for the masto-net network.
The IPv6 was not properly enabled. Enable it by adding
"enable_ipv6: true" in the network section in the docker-compose
file.
# 3. Fix DNS resolution error.
The default DNS system is not properly configured in this environment
and it leads to DNS resolution error. Provide custom resolv.conf file
and hosts file to satisfy the need of mastodon container.
The custom resolv.conf script will use the host IP address as the DNS
server. Therefore, the host must provide a working DNS server. It can
simply be done by adding these two lines to /etc/systemd/resolved.conf
DNSStubListenerExtra=0.0.0.0:53
DNSStubListenerExtra=[::]:53
# 4. Move data directory inside the git project
Move data directory inside the git project to allow the docker-comose.yml
file to use relative path. Then sync the docker-compose file with the
prod file (add hostname entry and DNS related changes).
# 5. Add elk server using docker.
Bash script to build and run the elk service using docker.
# 6. Add elk setup instructions.
Note crontab setup and nginx vhost config.
Signed-off-by: Alviro Iskandar Setiawan <[email protected]>
---
Alviro Iskandar Setiawan (6):
init_net: Allow trusted traffic from/to local addresses
mastodon: Enable IPv6 for the masto-net network
mastodon: Fix DNS resolution error
mastodon: Move data directory inside the git project
Add elk server using docker
setup.txt: Add elk setup instructions
.gitmodules | 3 +++
elk/.gitignore | 2 ++
elk/docker-compose.yml | 30 +++++++++++++++++++++++++++++
elk/start.sh | 23 ++++++++++++++++++++++
init_net.sh | 26 ++++++++++++++++++++++++-
mastodon/.gitignore | 3 ++-
mastodon/docker-compose.example.yml | 19 ++++++++++++------
mastodon/docker-mastodon | 1 +
mastodon/hosts | 8 ++++++++
mastodon/resolv.conf | 3 +++
setup.txt | 19 ++++++++++++++++++
11 files changed, 129 insertions(+), 8 deletions(-)
create mode 100644 .gitmodules
create mode 100644 elk/.gitignore
create mode 100644 elk/docker-compose.yml
create mode 100644 elk/start.sh
create mode 160000 mastodon/docker-mastodon
create mode 100644 mastodon/hosts
create mode 100644 mastodon/resolv.conf
base-commit: 9fb75192df6b55699b8716199b16b42d0b82e860
--
Alviro Iskandar Setiawan
next reply other threads:[~2023-07-13 15:28 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-07-13 15:28 Alviro Iskandar Setiawan [this message]
2023-07-13 15:28 ` [PATCH server-haj002 v1 1/6] init_net: Allow trusted traffic from/to local addresses Alviro Iskandar Setiawan
2023-07-13 15:28 ` [PATCH server-haj002 v1 2/6] mastodon: Enable IPv6 for the masto-net network Alviro Iskandar Setiawan
2023-07-13 15:28 ` [PATCH server-haj002 v1 3/6] mastodon: Fix DNS resolution error Alviro Iskandar Setiawan
2023-07-13 15:28 ` [PATCH server-haj002 v1 4/6] mastodon: Move data directory inside the git project Alviro Iskandar Setiawan
2023-07-13 15:28 ` [PATCH server-haj002 v1 5/6] Add elk server using docker Alviro Iskandar Setiawan
2023-07-13 15:28 ` [PATCH server-haj002 v1 6/6] setup.txt: Add elk setup instructions Alviro Iskandar Setiawan
2023-07-13 15:42 ` [PATCH server-haj002 v1 0/6] Server update and new service elk.gnuweeb.org Ammar Faizi
2023-07-13 16:47 ` Alviro Iskandar Setiawan
2023-07-13 16:54 ` Ammar Faizi
2023-07-14 2:25 ` Michael William Jonathan
2023-07-14 10:32 ` Alviro Iskandar Setiawan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
[email protected] \
[email protected] \
[email protected] \
[email protected] \
[email protected] \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox