Improve working locally

This commit is contained in:
2021-10-08 22:27:02 +01:00
parent f0d662a6a1
commit 5d8de31f25
4 changed files with 38 additions and 27 deletions

View File

@@ -423,6 +423,7 @@ ExecStart=/usr/bin/certbot renew --quiet --agree-tos --deploy-hook "docker exec
- To remove all unused volumes: `docker volume prune`
- To upgrade all images first run `docker-compose pull` followed by `docker-compose up -d --build`. Be careful this usually breaks something.
- To connect to the database you can run the command `docker run -it --network scarif_db --rm mariadb mysql -hostname scarif_db_1 -p`
- To get an interactive shell for a container run `docker exec -it {container} /bin/sh`
# TODO
- [x] Set up docker