Merge pull request #90 from NicolasConstant/patch-install

Patch install
This commit is contained in:
Nicolas Constant 2021-02-13 02:24:42 +01:00 committed by GitHub
commit 9e87335064
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 34 additions and 3 deletions

View File

@ -138,11 +138,11 @@ sudo ufw status
You should now have an up and running BirdsiteLIVE instance! You should now have an up and running BirdsiteLIVE instance!
## Upgrading ## Updating
Make sure your data belong outside the containers before migrating (set by default). Make sure your data belong outside the containers before migrating (set by default).
To upgrade your installation to the latest release: To update your installation to the latest release:
``` ```
# Edit `docker-compose.yml` to update the version, if you have one specified # Edit `docker-compose.yml` to update the version, if you have one specified
@ -152,6 +152,37 @@ docker-compose pull
docker-compose up -d docker-compose up -d
``` ```
## Auto-Updating
To set auto-updates on your deployment, add to the `docker-compose.yml` file this section:
```diff
version: "3"
networks:
birdsitelivenetwork:
external: false
services:
server:
image: nicolasconstant/birdsitelive:latest
[...]
db:
image: postgres:9.6
[...]
+ watchtower:
+ image: containrrr/watchtower
+ restart: always
+ container_name: watchtower
+ environment:
+ - WATCHTOWER_CLEANUP=true
+ volumes:
+ - /var/run/docker.sock:/var/run/docker.sock
+ command: --interval 300
```
## More options ## More options
You can find more options available [here](https://github.com/NicolasConstant/BirdsiteLive/blob/master/VARIABLES.md) You can find more options available [here](https://github.com/NicolasConstant/BirdsiteLive/blob/master/VARIABLES.md)