Skip to content

raneto

Raneto is a simple knowledgebase/documentation platform.

raneto

Prepare

podman pull ghcr.io/linuxserver/raneto:latest
mkdir -p $HOME/apps/{variables,container_data}
touch $HOME/apps/variables/raneto.env
mkdir -p $HOME/apps/container_data/raneto

Edit environment file

Edit the environment file and paste your default values for this service:

nano $HOME/apps/variables/raneto.env

Example contents:

PUID=1000
PGID=1000
TZ=Europe/Athens

Installation

touch $HOME/.config/containers/systemd/raneto.container
# raneto.container
[Unit]
Description=Raneto - KB-Docs
[Container]
ContainerName=raneto
HostName=raneto
AutoUpdate=registry
Image=ghcr.io/linuxserver/raneto:latest
Network=skynet.network

EnvironmentFile=%h/apps/variables/raneto.env
Volume=%h/apps/container_data/raneto:/config

#linuxserver.io specific
UIDMap=1000:0:1
UIDMap=0:1:1000
UIDMap=1001:1001:64536
[Service]
Restart=always
TimeoutStartSec=300

[Install]
WantedBy=default.target

Configuration of Nginx (Reverse Proxy)

Create nginx conf.

touch $HOME/apps/container_data/nginx/raneto.conf

Configuration for nginx conf for port 80.

server {
  listen 80;
  server_name docs.skynet.lan;

  access_log /var/log/nginx/docs_access.log;
  error_log /var/log/nginx/docs_error.log;

  location / {
    proxy_pass http://raneto:3000;
    proxy_set_header Host $host;
    proxy_set_header X-Real-IP $remote_addr;
    proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
  }
}

Restart Nginx

systemctl --user restart nginx

Usage

Open http://docs.skynet.lan

Troubleshooting

podman logs -f raneto
journalctl --user -u nginx -n 200