summaryrefslogtreecommitdiff
path: root/server/Rocket.toml
diff options
context:
space:
mode:
authorJoel Klinghed <the_jk@spawned.biz>2025-01-04 00:13:34 +0100
committerJoel Klinghed <the_jk@spawned.biz>2025-01-04 02:30:27 +0100
commitd09ffb6ee8b872c69321b3a9d992f278224741dc (patch)
treecf8e53475b3307264ccf073af37bf01d44926b74 /server/Rocket.toml
parent6354a463401d529c0a1d02264d1fa8ff4e251af5 (diff)
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!.
Diffstat (limited to 'server/Rocket.toml')
-rw-r--r--server/Rocket.toml3
1 files changed, 2 insertions, 1 deletions
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"