This file aims to explain how to deploy Portainer inside a compose file with the admin password already set.
For this example, we'll use the password superpassword.
Use the following command to generate a hash for the password:
| # | |
| # udev rule | |
| # Mount USB drive to the media directory using the partition name as mount point | |
| # | |
| # Description: | |
| # Created for Home Assistant OS, this rule mounts any USB drives | |
| # into the Hassio media directory (/mnt/data/supervisor/media). | |
| # When a USB drive is connected to the board, the rule creates one directory | |
| # per partition under the media directory. The newly created partition is named | |
| # as the partition name. If the partition does not have a name, then the following |
This file aims to explain how to deploy Portainer inside a compose file with the admin password already set.
For this example, we'll use the password superpassword.
Use the following command to generate a hash for the password:
A quick and dirty SSL MiTM using stunnel
openssl req -batch -new -x509 -days 365 -nodes -out mitm.pem -keyout mitm.pem| # Copyright 2015 Andrew Gunnerson <andrewgunnerson@gmail.com> | |
| # | |
| # Licensed under the Apache License, Version 2.0 (the "License"); | |
| # you may not use this file except in compliance with the License. | |
| # You may obtain a copy of the License at | |
| # | |
| # http://www.apache.org/licenses/LICENSE-2.0 | |
| # | |
| # Unless required by applicable law or agreed to in writing, software | |
| # distributed under the License is distributed on an "AS IS" BASIS, |
| #!/bin/sh | |
| # Quick start-stop-daemon example, derived from Debian /etc/init.d/ssh | |
| set -e | |
| # Must be a valid filename | |
| NAME=foo | |
| PIDFILE=/var/run/$NAME.pid | |
| #This is the command to be run, give the full pathname | |
| DAEMON=/usr/local/bin/bar |