From d09ffb6ee8b872c69321b3a9d992f278224741dc Mon Sep 17 00:00:00 2001 From: Joel Klinghed Date: Sat, 4 Jan 2025 00:13:34 +0100 Subject: Add docker compose for development As both compiling, tests and well, running, needs mariadb setup add a docker image for it. Also prepare for ldap support by adding a openldap image as well. Included .env as well, used by sqlx when compiling query!. --- server/Rocket.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'server/Rocket.toml') diff --git a/server/Rocket.toml b/server/Rocket.toml index 6dd1ad1..00ead14 100644 --- a/server/Rocket.toml +++ b/server/Rocket.toml @@ -3,7 +3,8 @@ secret_key = "itlYmFR2vYKrOmFhupMIn/hyB6lYCCTXz4yaQX89XVg=" session_max_age_days = 7 [default.databases.eyeballs] -url = "mysql://eyeballs:verysecret@127.0.0.1:3306/eyeballs" +# root is needed for tests +url = "mysql://root:verysecret@127.0.0.1:3306/eyeballs" [release] secret_key = "intentionally invalid" -- cgit v1.2.3-70-g09d2