You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
infidel 7c14f53eff Sync conflict 3 months ago
data Add iptable-parser as submodule 8 months ago
wg_api Sync conflict 3 months ago
wgweb Sync conflict 3 months ago
.gitignore Add iptable-parser as submodule 8 months ago
.gitmodules Add iptable-parser as submodule 8 months ago
Dockerfile Adjust port for ocp node 2 years ago
Readme.md Agile deployment method with docker 2 years ago
db.sqlite3 Add iptable-parser as submodule 8 months ago
manage.py Reinit wg backend 2 years ago
requirements.txt Standarized the iptables parsed log 8 months ago

Readme.md

Wireguard Backend

Code Structure

    ocp-wg-backend
        -> wgweb    # Your global configs
        -> wg_api   # Your shitty APIs
            -> utils # Custom tools for custom tasks

Docker based deployment

  1. Create docker container with docker build . -t wg-backend
  2. Run the docker with volume binding to apply realtime code changes.
        docker run --rm -it -v $(pwd):/usr/src/app wg-backend
    

Future works

  • Implement docker-compose deployment method.