OS2iot / OS2iot-backend

This repository contains the backend to the project OS2iot.
Mozilla Public License 2.0
10 stars 7 forks source link

bug: set ssl from env #197

Closed AramAlsabti closed 1 year ago

AramAlsabti commented 1 year ago

Set SSL for TypeORM from the environment variable. Test by setting

DATABASE_ENABLE_SSL: true

as an environment variable in the "os2iot-backend" resource in the root docker compose file. See here. Then delete any existing backend container and run docker-compose up os2iot-backend -d

Fixes https://github.com/OS2iot/OS2IoT-backend/issues/191