This PR configures the docker-compose services to load environment variables from both a common .env file or a per-service file (e.g. .raster.env).
This enables both broad and fine-grained customization of the services (e.g. add UVICORN_LOG_LEVEL=debug to all services via .env or to just one via .{service}.env.
How I did it
We're adding multiple optional environment files, making this an entirely optional feature. As per the docs, the service-level env files will take precedence over a common env file.
I also committed changes made by Prettier when formatting the YAML on save.
What I'm changing
This PR configures the docker-compose services to load environment variables from both a common
.env
file or a per-service file (e.g..raster.env
).This enables both broad and fine-grained customization of the services (e.g. add
UVICORN_LOG_LEVEL=debug
to all services via.env
or to just one via.{service}.env
.How I did it
We're adding multiple optional environment files, making this an entirely optional feature. As per the docs, the service-level env files will take precedence over a common env file.
I also committed changes made by Prettier when formatting the YAML on save.