Go to file
2023-10-30 14:40:43 +07:00
acer-env Added login api 2022-11-30 15:58:16 +07:00
data Add iptable-parser as submodule 2023-10-30 14:40:43 +07:00
dell-env Add iptable-parser as submodule 2023-10-30 14:40:43 +07:00
wg_api Add iptable-parser as submodule 2023-10-30 14:40:43 +07:00
wgweb Add iptable-parser as submodule 2023-10-30 14:40:43 +07:00
.gitignore Added login api 2022-11-30 15:58:44 +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 Add iptable-parser as submodule 2023-10-30 14:40:43 +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.