Skip to content

avidsapp/arm64-nginx-proxy

 
 

Repository files navigation

Automated Nginx Proxy for Raspberry Pi

Setup and Usage

  • 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
    

Reboot Scripts

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

About

Automated nginx proxy for Docker containers using docker-gen (arm64)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 81.8%
  • Shell 14.3%
  • Dockerfile 3.3%
  • Makefile 0.6%