Skip to content

Commit

Permalink
Update local-setup README
Browse files Browse the repository at this point in the history
  • Loading branch information
roivaz committed May 6, 2024
1 parent 895d930 commit 6196a42
Showing 1 changed file with 46 additions and 2 deletions.
48 changes: 46 additions & 2 deletions config/local-setup/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Instructions

1. Create the file `config/local-setup/secrets/pull-secrets.json` with the registry auths required (for private repositories used). Example:
1. Create the file `config/local-setup/env-inputs/pull-secrets.json` with the registry auths required (for private repositories used). Example:

```json
{
Expand All @@ -15,7 +15,51 @@
}
```

1. Issue the following commands
2. Create the file `config/local-setup/env-inputs/seed.env` with the following contents. Change the values to your heart's content:

```bash
MYSQL_ROOT_PASSWORD=password
MYSQL_DATABASE=system_enterprise
MYSQL_USER=app
MYSQL_PASSWORD=password
POSTGRES_USER=app
POSTGRES_PASSWORD=password
POSTGRES_DB=zync
BACKEND_INTERNAL_API_USER=user
BACKEND_INTERNAL_API_PASSWORD=password
SYSTEM_MASTER_USER=admin
SYSTEM_MASTER_PASSWORD=master-pass
SYSTEM_MASTER_ACCESS_TOKEN=mtoken
SYSTEM_TENANT_USER=admin
SYSTEM_TENANT_PASSWORD=provider-pass
SYSTEM_TENANT_TOKEN=ptoken
SYSTEM_APICAST_TOKEN=atoken
SYSTEM_EVENTS_SHARED_SECRET=password
SYSTEM_ASSETS_S3_ACCESS_KEY=admin
SYSTEM_ASSETS_S3_SECRET_KEY=admin1234
SYSTEM_SECRET_KEY_BASE=xxxxx
SYSTEM_DATABASE_SECRET=xxxxx
SYSTEM_SMTP_USER=""
SYSTEM_SMTP_PASSWORD=""
SYSTEM_ACCESS_CODE=""
SYSTEM_SEGMENT_DELETION_TOKEN=""
SYSTEM_SEGMENT_WRITE_KEY=""
SYSTEM_GITHUB_CLIENT_ID=""
SYSTEM_GITHUB_CLIENT_SECRET=""
SYSTEM_RH_CUSTOMER_PORTAL_CLIENT_ID=""
SYSTEM_RH_CUSTOMER_PORTAL_CLIENT_SECRET=""
SYSTEM_BUGSNAG_API_KEY=""
SYSTEM_RECAPTCHA_PUBLIC_KEY=""
SYSTEM_RECAPTCHA_PRIVATE_KEY=""
ZYNC_SECRET_KEY_BASE=xxxxx
ZYNC_AUTH_TOKEN=ztoken
ZYNC_BUGSNAG_API_KEY=""
```

3. You can tweak configurations in `config/local-setup/env-inputs/configuration.yaml`.


4. Issue the following commands

```bash
make kind-create
Expand Down

0 comments on commit 6196a42

Please sign in to comment.