# Portainer ## Description This docker compose run portainer on docker ## Certificats Copy crt and key files on `/home/docker/certs/` ## Run ```bash docker compose up -d ``` ## Apache ### http-portainer.conf ``` DocumentRoot "/var/www/html" ServerName portainer.gmolab.net ServerAlias portainer CustomLog logs/portainer_access_log common ErrorLog logs/portainer_error_log # Redirect http to https Redirect / https://portainer.gmolab.net/ Options FollowSymLinks AllowOverride None Require all granted Options FollowSymLinks AllowOverride None Require all granted SSLProxyEngine On ProxyPreserveHost On ProxyRequests off ProxyPass "/" "https://127.0.0.1:9443/" ProxyPassReverse "/" "https://127.0.0.1:9443/" ``` ## Access https://portainer.gmolab.net ## Changelog ### v1.0 - 2024-11-11 #### Added - initial version by [GMo](mailto:gilles.mouchet@gmail.com)