Update 'README.md'

This commit is contained in:
2021-08-14 12:59:03 +00:00
parent 2182778448
commit 3644b64e83

View File

@@ -417,10 +417,11 @@ ExecStart=/usr/bin/certbot renew --quiet --agree-tos --deploy-hook "docker exec
- To build all the containers from a compose file: `docker-compose up -d`
- To build the containers from a specific file: `docker-compose -f{file_name.yml} up -d`
- You can include environment variables by having a `.env` file in the same directory as your `docker-compose.yml` file (or you can specify it with the `--environment` option)
- To rebuild containers from scratch: `docker-compose up -d --build --force-recreate`
- To rebuild containers from scratch: `docker-compose up -d --build --force-recreate` (this will not remove any data!)
- To list all running containers: `docker ps -a`
- To remove all containers you have downloaded: `docker system prune -a`
- 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.
# TODO
- [x] Set up docker