Skip to content

Commit

Permalink
docker: add --restart always policy
Browse files Browse the repository at this point in the history
  • Loading branch information
AbcSxyZ committed Jul 11, 2024
1 parent df75218 commit 802ff68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ The portal is created using sources of the local repository.
**To initiate a portal served under https:**
```bash
sudo docker build --build-arg HTTPS=true -t portal-image .
sudo docker run -e DOMAIN=portal.organisation.org -e [email protected] -p 80:80 -p 443:443 portal-image
sudo docker run -e DOMAIN=portal.organisation.org -e [email protected] --restart always -p 80:80 -p 443:443 portal-image
```

`HTTPS`, `DOMAIN` & `MAIL` variables are required to obtain an SSL certificate using let's encrypt.
Expand Down

0 comments on commit 802ff68

Please sign in to comment.