- Follow upstream repo instructions here: @nginx-proxy or
-
git clone https://github.com/avidsapp/arm64-nginx-proxy.git proxy cd proxy docker-compose up -d
Settings to ensure reboot spins up proxy containers - change <USER>
and run sudo nano /etc/systemd/system/proxy-startup.service
:
[Unit]
Description=Proxy startup script
[Service]
ExecStart=/home/<USER>/proxy/proxy-startup.sh
Type=oneshot
RemainAfterExit=yes
[Install]
WantedBy=multi-user.target
Then run:
sudo systemctl daemon-reload
sudo systemctl enable proxy-startup.service
Then add a reboot CRON job under the root user - sudo su -
and run sudo crontab -e
:
@reboot /home/<USER>/proxy/proxy-startup.sh