init
This commit is contained in:
commit
1e11c8ca5e
12 changed files with 579 additions and 0 deletions
21
justfile
Normal file
21
justfile
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
start-auth:
|
||||
./main_auth.py &
|
||||
|
||||
stop-auth:
|
||||
pkill -f main_auth.py || true
|
||||
|
||||
start-nginx:
|
||||
docker run \
|
||||
--rm \
|
||||
-d \
|
||||
--name nginx \
|
||||
--network host \
|
||||
-v "$PWD/site":/usr/share/nginx/html:ro \
|
||||
-v "$PWD/nginx.conf":/etc/nginx/nginx.conf:ro \
|
||||
docker.io/library/nginx
|
||||
|
||||
logs-nginx:
|
||||
docker logs -f nginx
|
||||
|
||||
stop-nginx:
|
||||
docker stop nginx
|
||||
Loading…
Add table
Add a link
Reference in a new issue