Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,15 @@ Runs a local Apache Airflow environment that is a close representation of MWAA b

To stop the local environment, Ctrl+C on the terminal and wait till the local runner and the postgres containers are stopped.

If you need to authenticate with any live AWS services such as S3, export the following environment variables, which will get passed through:

```bash
export AWS_ACCESS_KEY_ID=...
export AWS_SECRET_ACCESS_KEY=...
export AWS_DEFAULT_REGION=...
./mwaa-local-env start
```

### Step three: Accessing the Airflow UI

By default, the `bootstrap.sh` script creates a username and password for your local Airflow environment.
Expand Down
3 changes: 3 additions & 0 deletions docker/docker-compose-local.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ services:
environment:
- LOAD_EX=n
- EXECUTOR=Local
- "AWS_ACCESS_KEY_ID=${AWS_ACCESS_KEY_ID}"
- "AWS_SECRET_ACCESS_KEY=${AWS_SECRET_ACCESS_KEY}"
- "AWS_DEFAULT_REGION=${AWS_DEFAULT_REGION}"
logging:
options:
max-size: 10m
Expand Down