Skip to content

imgtools

Image tools / utilities container.

imgtools

Prepare

podman pull ghcr.io/civilblur/mazanoke:latest

Installation

touch $HOME/.config/containers/systemd/imgtools.container
# imgtools.container
[Container]
ContainerName=imgtools
HostName=imgtools
Image=ghcr.io/civilblur/mazanoke:latest
AutoUpdate=registry
Environment=TZ=Europe/Athens
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/imgtools.conf

Configuration for nginx conf for port 80.

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

  access_log /var/log/nginx/imgtools_access.log;
  error_log /var/log/nginx/imgtools_error.log;

  location / {
    proxy_pass http://imgtools: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://imgtools.skynet.lan

Troubleshooting

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