Skip to content

Windham-High-School/access-point-reverse-proxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Setup Reference:

Setup Raspberry Pi

  • Install Raspberry Pi OS Lite
  • Add empty ssh to bootfs
  • Add `userconf.txt to bootfs with username:encrypted-password
    • echo "mypassword" | openssl passwd -6 -stdin

Start up Raspberry Pi

  • ssh username@ip-address

Install Docker

Add the permissions to the current user to run Docker commands

  • sudo gpasswd -a $USER docker
  • sudo shutdown -r now

Checkout the code

Set things up

  • cd access-point-reverse-proxy
  • ./generate_certs.sh

Start so that it will restart on device restart

  • docker compose up -d wlan

If you are going to set up a reverse proxy for the API server

  • vi .env
    • set API_SECRET

Start the reverse proxy so that it will restart on device restart

  • docker compose up -d proxy_pass

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published