Skip to content

Commit

Permalink
Add hint for storing data on-disc via app-config.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
SloaneTribble committed Jun 20, 2024
1 parent 5efc577 commit ec541e5
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions docs/9-platform-engineering/9.1-backstage.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,16 @@ a GitHub org to play around with. Each person going through the bootcamp will ne
- Deep Dive: Apply a custom theme
4. Push your instance of Backstage to a repo in your new GitHub Organization

?> By default, your Backstage instance will be configured to use SQLite to store data in-memory. If you would like your instance's data to be stored to your disc, you can specify a folder in your `app-config.yaml` as follows:
``` database:
client: better-sqlite3
# sqlite is configured by default to store in-memory
connection: # ':memory:'
directory: 'abs/path/to/this-file/data/backstage.sqlite'
```


Check failure on line 90 in docs/9-platform-engineering/9.1-backstage.md

View workflow job for this annotation

GitHub Actions / lint

Multiple consecutive blank lines [Expected: 1; Actual: 2]

docs/9-platform-engineering/9.1-backstage.md:90 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]

Check failure on line 90 in docs/9-platform-engineering/9.1-backstage.md

View workflow job for this annotation

GitHub Actions / lint

Multiple consecutive blank lines [Expected: 1; Actual: 2]

docs/9-platform-engineering/9.1-backstage.md:90 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]

Check failure on line 91 in docs/9-platform-engineering/9.1-backstage.md

View workflow job for this annotation

GitHub Actions / lint

Multiple consecutive blank lines [Expected: 1; Actual: 3]

docs/9-platform-engineering/9.1-backstage.md:91 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 3]

Check failure on line 91 in docs/9-platform-engineering/9.1-backstage.md

View workflow job for this annotation

GitHub Actions / lint

Multiple consecutive blank lines [Expected: 1; Actual: 3]

docs/9-platform-engineering/9.1-backstage.md:91 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 3]
### Exercise 3: Configure Authentication via GitHub

Currently your Backstage instance is not authenticating the user. You are an anonymous guest. Given that an IDP will have access to all the engineering resources in an organization and have access to self-service resources we need to add authentication. Backstage's authentication system serves a couple of purposes. First it is there for sign-in functionality and to authenticate the user. Additionally it can be used to grant access to third-party resources. Typically you will use one authentication provider for sign-in functionality and other authentication providers will be used to grant access to third-party resources.
Expand Down

0 comments on commit ec541e5

Please sign in to comment.