Go to file
2023-10-30 23:10:03 +07:00
data Add iptable-parser as submodule 2023-10-30 14:40:43 +07:00
wg_api Standarized the iptables parsed log 2023-10-30 23:10:03 +07:00
wgweb Standarized the iptables parsed log 2023-10-30 23:10:03 +07:00
.gitignore Add iptable-parser as submodule 2023-10-30 14:41:19 +07:00
.gitmodules Add iptable-parser as submodule 2023-10-30 14:40:43 +07:00
db.sqlite3 Add iptable-parser as submodule 2023-10-30 14:40:43 +07:00
Dockerfile Adjust port for ocp node 2022-11-24 21:54:18 +07:00
manage.py Reinit wg backend 2022-11-22 14:07:36 +07:00
Readme.md Agile deployment method with docker 2022-12-17 01:45:33 +07:00
requirements.txt Standarized the iptables parsed log 2023-10-30 23:10:03 +07:00

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.