-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
linomp
committed
Jul 15, 2023
1 parent
486f57e
commit 8b3cbf4
Showing
4 changed files
with
3 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,11 @@ | ||
git pull | ||
|
||
## This step should be removed... issue is documented here: | ||
## https://github.com/linomp/no-pasaran-backend/issues/1 | ||
#cp /etc/letsencrypt/live/apps.xmp.systems/cert.pem app/cert.pem | ||
#cp /etc/letsencrypt/live/apps.xmp.systems/privkey.pem app/privkey.pem | ||
#chmod 777 app/cert.pem | ||
#chmod 777 app/privkey.pem | ||
|
||
docker container stop devtest | ||
docker container rm devtest | ||
|
||
docker image rm pointless-backend-debug | ||
docker build -t pointless-backend-debug -f DockerfileDebug . | ||
|
||
docker run -it --name devtest -p 8080:8080 -p 8443:8443 -v /etc/letsencrypt/archive/apps.xmp.systems:/code/app/certs:ro pointless-backend-debug | ||
docker run -it --name devtest -p 443:443 -v /etc/letsencrypt/archive/apps.xmp.systems:/code/app/certs:ro pointless-backend-debug | ||
|
||
# uvicorn app.main:app --host "0.0.0.0" --port 443 --ssl-keyfile=./app/certs/privkey3.pem --ssl-certfile=./app/certs/cert3.pem |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.