fehho / myDiRT-api

Scorpion Camp winter 2022 devjam participant
0 stars 0 forks source link

feat: Add GitHub release workflow #21

Closed elblayko closed 1 year ago

fehho commented 1 year ago

Current state of the docker image is that https://github.com/fehho/myDiRT-api/blob/main/my_dirt.json has be to modified so that Server=localhost,1433 and "username": "SA", "password": "Passw0rd" has to be changed to match the correct location and credentials. Alternatives would be adding an alternative dockerfile which uses sqlite, or having env overrides.

elblayko commented 1 year ago

Current state of the docker image is that https://github.com/fehho/myDiRT-api/blob/main/my_dirt.json has be to modified so that Server=localhost,1433 and "username": "SA", "password": "Passw0rd" has to be changed to match the correct location and credentials. Alternatives would be adding an alternative dockerfile which uses sqlite, or having env overrides.

The SA password is set by the Kubernetes environment. Ref: https://github.com/elblayko/dirt-kube/blob/88c0a3de1a340b03d2f9c2052f720297f4c055cf/app/db.yml#L35 https://github.com/elblayko/dirt-kube/blob/88c0a3de1a340b03d2f9c2052f720297f4c055cf/app/db.yml#L76