disable database service on stage/prod
What does this MR do?
Introduce a way to disable services on stage/prod
Why is this MR needed?
Because we already use a database outside of the VM.
Other services like object-storage, mqtt-broker could potentially also be external.
How to test this MR?
- run time.IO with the
databaseservice- nothing to see here
- business as usual
- run time.IO without the
databaseservicecp docker-compose.override.prod.yml docker-compose.override.yml- either
- set up local database connection outside of tsm-orchestration
- set
.envto use this database connection- e.g. replace
=databasewith=172.17.0.1, the bridge network gateway
- e.g. replace
- run time.IO - everything works well
👍
- or
- see flyway fail, as it can not connect to db
- let's test it on stage
⚠️ Do not change the auto-generated
Merge commit messageorSquash commit message, otherwise the release pipeline fails!
Edited by Joost Hemmen