@@ -13,6 +13,16 @@ A docker-compose script is included in the root folder of this repository ([dock
```bash
docker compose up --build
```
*Before the first run:* Set the following environment variables, as specified in the documentation:
- DB_USER: the database user;
- DB_PASS: the password for the user;
- DB_HOST: the database host, if you are running SAK locally, set it to localhost;
- DB_NAME: the database name;
- DB_PORT: the port to use to connect to the database.
A convenience script is provided to create the credentials file for future connections [create_db_credentials_file.py](etl/create_db_credentials_file.py).
This must be executed before running docker compose, or the credentials file can be compiled by hand.
The following parameters can be set by adding the `command` override in the `etl` section of the docker-compose file:
* --run_id: the run id of the grid to process; if not provided, generates a new run_id;