Agile deployment method with docker
This commit is contained in:
21
Readme.md
Normal file
21
Readme.md
Normal file
@@ -0,0 +1,21 @@
|
||||
# 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.
|
||||
- [ ]
|
||||
Reference in New Issue
Block a user