dont fucking need mongo_url

This commit is contained in:
zk
2026-05-03 18:02:20 +00:00
parent e02e42e69a
commit baa771cd1a
4 changed files with 0 additions and 12 deletions
-2
View File
@@ -1,6 +1,5 @@
NODE_ENV="dev"
REDIS_URL="tachi-redis"
MONGO_URL="tachi-mongo"
PORT=8080
LOG_LEVEL="debug"
MSGPACKR_NATIVE_ACCELERATION_DISABLED=true
@@ -9,7 +8,6 @@ POSTGRES_URL="postgresql://tachi:tachi@tachi-postgres/tachi_dev"
MIGRATIONS_DIR="/tachi/db/migrations"
REDIS_URL=tachi-redis
MONGO_URL=tachi-mongo
PORT=8080
MIGRATIONS_DIR=/tachi/db/migrations
LOG_LEVEL=debug
-1
View File
@@ -2,7 +2,6 @@
NODE_ENV=
PORT=
REDIS_URL=
MONGO_URL=
POSTGRES_URL=
MIGRATIONS_DIR=
VERSION=
@@ -481,13 +481,6 @@ if (!REDIS_URL) {
process.exit(1);
}
const MONGO_URL = process.env.MONGO_URL;
if (!MONGO_URL) {
log.error(`No MONGO_URL specified in environment. Terminating.`);
process.exit(1);
}
const NODE_ENV = process.env.NODE_ENV;
if (!NODE_ENV) {
@@ -547,7 +540,6 @@ if (!commitHash) {
export const Env = {
PORT,
REDIS_URL,
MONGO_URL,
POSTGRES_URL,
MIGRATIONS_DIR,
VERSION: version,
-1
View File
@@ -34,7 +34,6 @@ export default defineConfig({
env: {
NODE_ENV: "test",
PORT: "8080",
MONGO_URL: "tachi-mongo",
REDIS_URL: "tachi-redis",
MIGRATIONS_DIR: "/tachi/db/migrations",
LOG_LEVEL: "warn",