keb / elster

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

elster

A collection of stuff for my servers.

Getting Started

  1. Create the swag-containers network so that your containers can communicate with each other
docker network create --driver=bridge swag-containers
  1. Modify swag/run.sh to only include the SUBDOMAINS you want.

    • If you want to update them, edit swag/run.sh and then run swag/update.sh
    • For all confs under swag/config/nginx/proxy-confs or swag/config/nginx/site-confs that you do not want, append .sample to the filename.
  2. Run swag/run.sh

  3. Spin up whatever other apps you want to run!

Help

For each new reverse proxy, follow these steps:

  1. Create a new proxy-conf in swag/config/nginx/proxy-confs
    • Do this by copying your confs from swag/config/nginx/proxy-confs/subdomains to swag/config/nginx/proxy-confs
  2. Update the SUBDOMAINS env variable in swag/run.sh to include the subdomain of your service
  3. Create a CNAME entry in your domain manager: CNAME <container name>.<domain>.net <domain>.duckdns.org

If you run into 502s, read: https://docs.linuxserver.io/general/swag#502

  • In most cases the contents of /config/nginx/resolver.conf; should be resolver 127.0.0.11 valid=30s;, if this is not the case, you can delete it, and restart the container to have it regenerate.

About


Languages

Language:HTML 87.8%Language:Shell 9.7%Language:Dockerfile 2.5%