Skip to content

Commit

Permalink
added upgrade guide
Browse files Browse the repository at this point in the history
  • Loading branch information
kohlerdominik committed Dec 3, 2019
1 parent 537e966 commit 5c798ad
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,22 @@ As pureftpd runs in a docker-container, it doesn't know it's public address. You
ForcePassiveIP 1.2.3.4
```

## Upgrade in Production
It's easy to upgrade containers with short downtime. You can do it for all containers at once, but it's
recommended to do it step by step.

First, if you changed your docker-compose file to use fixed version for images, update those.

Then, pull the desired version and restart the container: `docker-compose pull {service} && docker-compose up --no-deps -d {service}
`

```
docker-compose pull web && docker-compose up --no-deps -d web
docker-compose pull ftp && docker-compose up --no-deps -d ftp
docker-compose pull db && docker-compose up --no-deps -d db
```

## Manage the server

Expand Down

0 comments on commit 5c798ad

Please sign in to comment.