From c7f7b754e528b1b291c05ca7ab79630ea9ff00d4 Mon Sep 17 00:00:00 2001 From: cauta Date: Tue, 11 Jun 2024 09:37:05 +0700 Subject: [PATCH] update README --- app/README.md | 27 ++++----------------------- 1 file changed, 4 insertions(+), 23 deletions(-) diff --git a/app/README.md b/app/README.md index 16983be..d4194aa 100644 --- a/app/README.md +++ b/app/README.md @@ -41,11 +41,11 @@ make up Build docker container and push to docker registry ```bash yarn build -docker build -f apps/onebox/Dockerfile --target production -t /onebox: . +docker build -f apps/api/Dockerfile --target production -t /api: . docker build -f apps/monitor-service/Dockerfile --target production -t /monitor: . docker build -f apps/worker-service/Dockerfile --target production -t /worker: . -docker push /onebox: +docker push /api: docker push /monitor: docker push /worker: ``` @@ -65,8 +65,8 @@ Start local dev env ```bash make up-deps -# start onebox module -yarn start:dev onebox +# start api module +yarn start:dev api # start monitor service yarn start:dev monitor-service @@ -82,25 +82,6 @@ Start docker compose dev docker compose -f docker-compose-dev.yml up -d ``` -## Set up SSL from certbot -```bash -source .env -echo "Install certbot:" -sudo apt install snapd -sudo snap install core; sudo snap refresh core -sudo snap install --classic certbot -sudo ufw allow 80 -sudo certbot certonly --standalone -d $DOMAIN -m $EMAIL -sudo ufw delete allow 80 -``` - -OR -```bash -sudo docker run -it --rm --name certbot -v "/etc/letsencrypt:/etc/letsencrypt" -v "/var/lib/letsencrypt:/var/lib letsencrypt" -p 80:80 certbot/certbot certonly - -sudo ufw-docker allow certbot -``` - ## License Nest is [MIT licensed](LICENSE). \ No newline at end of file