Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Two DB docker updates #30

Open
1 of 3 tasks
WinnyTroy opened this issue Sep 25, 2020 · 0 comments · May be fixed by #41
Open
1 of 3 tasks

Two DB docker updates #30

WinnyTroy opened this issue Sep 25, 2020 · 0 comments · May be fixed by #41
Assignees

Comments

@WinnyTroy
Copy link

WinnyTroy commented Sep 25, 2020

When running KPI via docker with the new setup, these are afew items that need to be updated

  • Introduce KPI docker-compose file

KPI doesnt define this docker-compose file in their kobotoolbox/kpi repository. They have this instead defined in the kobotoolbox/kobo-docker repository.
The docker-compose file will now help us manage the KPI and postgres docker containers.

  • Introduce KPI docker settings file

KPI doesnt define a settings file to work with Docker. They make use of this file, which points to the base setting file.
We are introducing this docker settings file in an effort not to alter the base setting file.

  • Update docker/init.bash script

We need to update the init bash script here to handle migrations appropriately. These updates include:

  1. Create KPI DB and user and grand persmissions for DB to user
  2. Create Dump for KPI tables to new KPI DB
  3. Run migrations after tables have migrated in dump

Resolves part of #26

@WinnyTroy WinnyTroy self-assigned this Sep 25, 2020
@WinnyTroy WinnyTroy linked a pull request May 4, 2021 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant