Update README.md to include backup checks and additional steps for updating AUTHENTIK_TAG in test and production environments
This commit is contained in:
parent
bccf661ec9
commit
1773c2b330
1 changed files with 16 additions and 12 deletions
28
README.md
28
README.md
|
@ -212,23 +212,27 @@ docker compose build --no-cache \
|
|||
|
||||
### Test
|
||||
|
||||
1. Update `AUTHENTIK_TAG` to the desired tag in `env.test.template`.
|
||||
2. Commit & push changes to the Repo.
|
||||
3. Run `diff --color='auto' env.test.template .env` to display the diff between
|
||||
1. Check if the backups are up to date: `docker compose run --rm restore-cli /usr/local/bin/restic snapshots`
|
||||
2. Update `AUTHENTIK_TAG` to the desired tag in `env.test.template`.
|
||||
3. Commit & push changes to the Repo.
|
||||
4. Run `diff --color='auto' env.test.template .env` to display the diff between
|
||||
`env.test.template` and `.env`.
|
||||
1. Port the made changes to `.env`.
|
||||
2. `docker-compose-2.32.4 down`
|
||||
3. `docker-compose-2.32.4 up -d; docker-compose-2.32.4 logs -f`
|
||||
5. Port the made changes to `.env`.
|
||||
6. `docker-compose-2.32.4 pull`
|
||||
7. `docker-compose-2.32.4 down`
|
||||
8. `docker-compose-2.32.4 up -d; docker-compose-2.32.4 logs -f`
|
||||
|
||||
### Prod
|
||||
|
||||
1. Update `AUTHENTIK_TAG` to the desired tag in `env.prod.template`.
|
||||
2. Commit & push changes to the Repo.
|
||||
3. Run `diff --color='auto' env.prod.template .env` to display the diff between
|
||||
1. Check if the backups are up to date: `docker compose run --rm restore-cli /usr/local/bin/restic snapshots`
|
||||
2. Update `AUTHENTIK_TAG` to the desired tag in `env.prod.template`.
|
||||
3. Commit & push changes to the Repo.
|
||||
4. Run `diff --color='auto' env.prod.template .env` to display the diff between
|
||||
`env.prod.template` and `.env`.
|
||||
1. Port the made changes to `.env`.
|
||||
2. `docker compose down`
|
||||
3. `docker compose up -d; docker compose logs -f`
|
||||
5. Port the made changes to `.env`.
|
||||
6. `docker compose pull`
|
||||
7. `docker compose down`
|
||||
8. `docker compose up -d; docker compose logs -f`
|
||||
|
||||
## Disaster recovery / restore
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue