Commit Graph

3 Commits

Author SHA1 Message Date
Akshay Gaikwad
83156cda48 Remove restart policy from Docker compose services
The Docker compose is mainly used for local development setup. Hence
there is not need to restart containers.
2022-04-14 13:45:24 +05:30
Akshay Gaikwad
14ef1afd00 Fix race condition between kratos-migrate and migrate-admindb
migrate-admindb service in docker compose must require all kratos
migrations to be completed, otherwise it fails with some-kratos-table
not exists error.

Fix #66

Signed-off-by: Akshay Gaikwad <akshay.gaikwad@rafay.co>
2022-03-16 18:50:45 +05:30
akshay196-rafay
5429bf4493 Add Docker compose file (#49)
* Add DB_ADDR to env vars list
* Add Dockerfile and docker-compose
* Remove go.mod from _kratos dir and clean go.mod of root dir
* Run Kratos docker-compose quickstart from root dir
* Add gomigrate to docker-compose
* Bump docker-composen version to 3.7
* Add Kratos services in the single docker compose file
Removed Kratos quickstart files and merge all setup required for
rcloud-base in the kratos-compose.yml file located in the root of the
repo.
* Add elasticsearch in docker-compose
* Allow es to not be available in when in dev mode
* Change default ES endpoint

Co-authored-by: Abin Simon <abin.simon@rafay.co>
2022-03-11 17:28:16 +05:30