在我之前的博文中,我描述了我是如何在容器中使用进程管理器的,并做了一些展开。但我还是觉得有必要针对 Laurent Bercot 开发的 S6 做更详尽的说明。
什么用 S6 而不是 Supervisor?
在我之前的博文中,我描述了我是如何在容器中使用进程管理器的,并做了一些展开。但我还是觉得有必要针对 Laurent Bercot 开发的 S6 做更详尽的说明。
什么用 S6 而不是 Supervisor?
#! /bin/sh | |
case "$1" in | |
start) | |
if ( pidof zerotier-one ) | |
then echo "ZeroTier-One is already running." | |
else | |
echo "Starting ZeroTier-One" ; | |
/opt/bin/zerotier-one -d ; | |
echo "$(date) Started ZeroTier-One" >> /opt/var/log/zerotier-one.log ; |
You will need the following:
Proxmox 4 is based on Debian Jessie. Reference for this install: https://docs.docker.com/engine/installation/linux/debian/#/install-using-the-repository
$ apt-get install curl
$ curl -fsSL https://apt.dockerproject.org/gpg | apt-key add -
$ echo "deb https://apt.dockerproject.org/repo/ debian-jessie main" > /etc/apt/sources.list.d/docker.list
$ apt-get update
version: "3" | |
services: | |
snipeit: | |
env_file: ./snipe-it.env | |
image: snipe/snipe-it | |
depends_on: | |
- mysql | |
ports: | |
- "80:80" | |
volumes: |
I am currently working on updating this guide after updating my media server. I have added notes on things I no longer use but may update those sections in the future for users who still use them. As of now, I have everything working with the exception of Ombi and the plugins I no longer use.
#!/bin/bash | |
curl -s https://raw.githubusercontent.com/sivel/speedtest-cli/master/speedtest.py | python - |
#!/bin/bash | |
# | |
# Script for running automated backups for Snipe-IT Docker containers and removing old backups | |
# | |
# Mean to be used as part of a crontab | |
# | |
# Limits its search for backups to clean up to those in the 'BACKUP_DIR' folder, so | |
# you can create folders in this location to keep any manual backups for historical purposes | |
# |
Descargar imagen Raspbian Lite.
Flashear imagen a la SD con Balena Etcher (Windows).
Añadir carpeta /ssh
a la raíz de la sd.