Skip to content

Commit

Permalink
docs(update): add minor changes regarding SeAT 5 stack
Browse files Browse the repository at this point in the history
  • Loading branch information
warlof authored Jan 14, 2024
1 parent de907bc commit aee7963
Showing 1 changed file with 47 additions and 13 deletions.
60 changes: 47 additions & 13 deletions docs/upgrading/general.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,19 +12,53 @@ As expected, updates for SeAT are deployed via images on the [GitHub Container R
Every package version release will automatically start the build process to generate a new docker image.
This means updates are super simple in the docker world. To update your instance, simply run:

```bash linenums="1"
# Update to the latest dockerhub images
docker-compose pull

# Take the stack down
docker-compose down

# Bring the stack back up
docker-compose up -d

# Cleanup any dangling images
docker image prune -f
```
=== "SeAT 4.x"

```bash linenums="1"
# Update to the latest dockerhub images
docker-compose pull

# Take the stack down
docker-compose down

# Bring the stack back up
docker-compose up -d

# Cleanup any dangling images
docker image prune -f
```

=== "SeAT 5.x - Traefik"

```bash linenums="1"
# Update to the latest dockerhub images
docker compose -f docker-compose.yml -f docker-compose.mariadb.yml -f docker-compose.traefik.yml pull

# Take the stack down
docker compose -f docker-compose.yml -f docker-compose.mariadb.yml -f docker-compose.traefik.yml down

# Bring the stack back up
docker compose -f docker-compose.yml -f docker-compose.mariadb.yml -f docker-compose.traefik.yml up -d

# Cleanup any dangling images
docker image prune -f
```

=== "SeAT 5.x - Proxy"

```bash linenums="1"
# Update to the latest dockerhub images
docker compose -f docker-compose.yml -f docker-compose.mariadb.yml -f docker-compose.proxy.yml pull

# Take the stack down
docker compose -f docker-compose.yml -f docker-compose.mariadb.yml -f docker-compose.proxy.yml down

# Bring the stack back up
docker compose -f docker-compose.yml -f docker-compose.mariadb.yml -f docker-compose.proxy.yml up -d

# Cleanup any dangling images
docker image prune -f
```

!!! warning "Better safe then sorry"
**Always** perform a [database backup] of your database before doing an update. Always.
Expand Down

0 comments on commit aee7963

Please sign in to comment.