Skip to content
Draft
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
6 changes: 4 additions & 2 deletions docs/developers/add-on.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,10 @@ The repository contains a `docker-compose.yml` file that can be used to locally

- Copy the example `json` configuration file and set your own values:
```bash
cp asterisk/config.json.example asterisk/config.json
mkdir config
cp ./rootfs/etc/asterisk-addon/default_config.json asterisk/config.json
```
- Set `HA_TOKEN` and `HA_URL` environment variables in docker-compose.yml
- Build a Docker image:
```bash
docker-compose build asterisk
Expand All @@ -53,4 +55,4 @@ The repository contains a `docker-compose.yml` file that can be used to locally
docker-compose up asterisk
```
- If you want to easily edit and test the scripts without having to rebuild the whole image, you can mount the local files from the project directory in the container.
See the `volumes:` section for examples.
See the `volumes:` section for examples.