Skip to content

ittools

Small collection of IT tools.

ittools

Prepare

podman pull docker.io/corentinth/it-tools:latest

Installation

touch $HOME/.config/containers/systemd/ittools.container
# ittools.container
[Unit]
Description=ittools
[Container]
ContainerName=ittools
Image=docker.io/corentinth/it-tools:latest
AutoUpdate=registry
HostName=ittools
Network=skynet.network
[Service]
Restart=always
TimeoutStartSec=300
[Install]
WantedBy=default.target

Configuration of Nginx (Reverse Proxy)

Create nginx conf.

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

Configuration for nginx conf for port 80.

server {
  listen 80;
  server_name ittools.skynet.lan;
  access_log /var/log/nginx/ittols_access.log;
  error_log /var/log/nginx/ittools_error.log;
  location / {
    proxy_pass http://ittools:80;
    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://ittools.skynet.lan

Troubleshooting

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