wg-backend-django/Readme.md

22 lines
519 B
Markdown
Raw Normal View History

2022-12-16 13:45:33 -05: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.
- [ ]