devtools: Update readme
Detail how to make uploads work.
This commit is contained in:
parent
043b775ced
commit
3132e19d80
1 changed files with 16 additions and 1 deletions
|
|
@ -33,10 +33,25 @@ cd image-builder-frontend/devel
|
|||
./setup.sh
|
||||
```
|
||||
|
||||
## Environment Variables
|
||||
|
||||
For the Image Builder backend to upload successfully, you need to set some environment variables. For AWS, for example, set the following environment variables in the `.env` file:
|
||||
|
||||
```
|
||||
OSBUILD_AWS_REGION
|
||||
OSBUILD_AWS_ACCESS_KEY_ID
|
||||
OSBUILD_AWS_SECRET_ACCESS_KEY
|
||||
OSBUILD_AWS_S3_BUCKET
|
||||
```
|
||||
|
||||
And then add to the list of environment variables for the backend container in the `docker-compose.yml` file.
|
||||
|
||||
The config variables for the Image Builder backend can be found [here](https://github.com/osbuild/image-builder/blob/main/internal/config/config.go).
|
||||
|
||||
## Run
|
||||
|
||||
```bash
|
||||
docker compose up
|
||||
docker-compose up
|
||||
```
|
||||
|
||||
Access the service through the GUI:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue