Commit c0f24f2
committed
chore: initialize mysql database in docker
The mysql dockerfile has been pinned at 8.3 to avoid errors in the
default authentication plugin. See
mysqljs/mysql#2233 for more information. It
might be prudent to switch to mysql2 instead of mysqljs for future
release.
I've renamed all the server model files to have a numeric prefix to
allow execution in order. The 99-debug.sql file crashes, but it is not
necessary for the functioning of the BHIMA server.
You can now type `docker-compose up` and be taken to the BHIMA
installation page on localhost. Environmental variables are set in the
`.env` file as usual.1 parent c3ce8bd commit c0f24f2
File tree
12 files changed
+10
-39
lines changed- server/models
- sh
12 files changed
+10
-39
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
41 | 45 | | |
42 | 46 | | |
43 | 47 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
22 | 22 | | |
| 23 | + | |
23 | 24 | | |
24 | 25 | | |
25 | | - | |
| 26 | + | |
26 | 27 | | |
27 | | - | |
| 28 | + | |
28 | 29 | | |
29 | 30 | | |
30 | 31 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
| 31 | + | |
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| |||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
0 commit comments