01f82c6c221317d9cba906b47a0083c6028e7af9
- primegrading-logo.svg: font-family 'Arial Black' → 'Arial', font-weight 900 → 400
- index.html: dark-mode card-bg fjernet, .card-label farve rettet
This repo contains various scripts and tweaks for Portainer and other relevant containers.
Activate SSL via NPM (Nginx Proxy Manager) for Portainer
-
Set up NPM as a container and generate SSL certificates.
-
Create a script to copy the certificates to the host, ensuring Portainer loads them on reboot.
- Copy script: copycert.sh
- Ensure the script is executable:
chmod +x copycert.sh
-
Set up a crontab to automate the copy process.
- Crontab setup: crontab.md
-
Start/restart Portainer with the SSL certificates.
--replaceswaps the container with the new settings — nothing is deleted.
sudo podman run -d -p 8000:8000 -p 9443:9443 --replace --name portainer --restart=always --privileged -v /run/podman/podman.sock:/var/run/docker.sock -v portainer_data:/data -v /etc/ssl/certs/portainer/:/certs portainer/portainer-ce:lts --tlscert /certs/fullchain.pem --tlskey /certs/privkey.pem
Expose Gitea via NPM (Nginx Proxy Manager)
-
Create a shared network so NPM and Gitea can communicate internally.
-
Add the
proxynetwork to both stacks in Portainer.- NPM compose — add
proxynetwork to theappservice. - Gitea compose — add
proxynetwork to theserverservice (notdb).
- NPM compose — add
-
Set
ROOT_URLin Gitea'sapp.inito use HTTPS.
ROOT_URL = https://git.example.com/
- Configure NPM Proxy Host.
- Forward Hostname/IP:
gitea-stack - Forward Port:
3000 - Websockets Support: enabled
- SSL: Force SSL enabled
- Forward Hostname/IP:
Expose IT Tools via NPM (Nginx Proxy Manager)
- Add the
proxynetwork to the IT Tools stack.- IT Tools compose — add
proxynetwork to theit-toolsservice.
- IT Tools compose — add
- Configure NPM Proxy Host.
- Forward Hostname/IP:
it-tools-stack - Forward Port:
80(container port, not host port) - SSL: Force SSL enabled
- Forward Hostname/IP:
Note: Always use the container's internal port in NPM, not the host port. NPM communicates directly with the container via the shared network.
Description
Languages
HTML
98.6%
Shell
0.9%
Dockerfile
0.5%