OpenSlides / openslides-manage-service

Manage service for OpenSlides 4+
MIT License
4 stars 12 forks source link

docker-compose.yml invalid with disablePostgres #214

Open thegcat opened 1 year ago

thegcat commented 1 year ago

Generating a docker-compose.yml with disablePostgres: true will output a non-functional file. Trying to start the file will give the error:

Configuration error - Service 'backendAction' depends on service 'postgres' which is undefined.

It seems most services that expect to be able to connect to the DB directly still depends_on: postgres.

thegcat commented 1 year ago

Setting disableDependsOn: true in the config.yml and regenerating the config seems to fix this issue, though it removes all other ordering between the containers too.

thegcat commented 1 week ago

This and #215 are still an issue.