21 lines
369 B
Makefile
21 lines
369 B
Makefile
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
|