FIT3170-FY-Project-7 / RABIT-COMMON

Common repository of the RABIT project, for documentation storage and cross-component interaction.
https://rabit2022.cloud.edu.au/plots
ISC License
3 stars 1 forks source link

Add create_temp_user.sql to docker-compose.yml #20

Closed megascrapper closed 1 year ago

megascrapper commented 1 year ago

πŸ“‹ | Pre-PR

Before submitting a pull request make sure you have:


πŸ“„ | Licensing

In order to be accepted and merged into RABIT, each piece of code must be released under ISC license or a compatible license.

Check one of the following options:

  • [ ] I am the original author of this code and I am willing to release it under the ISC license.
  • [x] I am not the original author of this code but it is released under the ISC license or a compatible license (please provide evidence).

ℹ️ | Description / Further Information

Explanation of the purpose and effect of your pull request goes here.

Provide context and examples as necessary.

Add create_temp_user.sql to docker-compose.yml as part of the init scripts to ensure that the temporary user has been properly created so the app is ready to use with just a single docker-compose up.

The bind mount names have numbers prefixed so they are executed in the correct order.

megascrapper commented 1 year ago

@JMSS-Unknown can you also have a look at the related PRs https://github.com/FIT3170-FY-Project-7/RABIT-DOCS/pull/5 and https://github.com/FIT3170-FY-Project-7/RABIT-BACKEND/pull/30 ?