wg-backend-django/Readme.md
2022-12-17 01:45:33 +07:00

22 lines
519 B
Markdown

# 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.
- [ ]