chore: backup automatically

This commit is contained in:
Elio Bischof
2023-05-23 18:40:58 +02:00
parent 06a4cfe388
commit 5748aab4d4
4 changed files with 31 additions and 6 deletions

View File

@@ -41,8 +41,11 @@ or have limited resources on your local machine.
### Developing Against Your Local ZITADEL Instance
```sh
# Backup your ./apps/login/.env.local if it exists to ./apps/login/.env.local.bak
mv ./apps/login/.env.local ./apps/login/.env.local.bak
# To have your service user key and environment file written with the correct ownership, export your current users ID.
export ZITADEL_DEV_UID="$(id -u)"
# Pull images
docker compose --file ./acceptance/docker-compose.yaml pull
# Run ZITADEL and configure ./apps/login/.env.local
docker compose --file ./acceptance/docker-compose.yaml run setup