···33gleam = "1.12.0"
44"rust" = { version = "latest", components = "rust-analyzer" }
5566+67[settings]
88+[settings.cargo]
99+binstall = false # This fails in some cases, watchexec can be compiled from source quickly enough
710[settings.npm]
811bun = true
912
+4-4
mise/tasks/podman.toml
···2424 "podman run -d --replace --name lumina-redis-commander --pod lumina-postgres-pod -e REDIS_HOSTS=lumina-redis -e PORT=8082 ghcr.io/joeferner/redis-commander:latest",
2525 "podman run -d --replace --name lumina-pgweb --pod lumina-postgres-pod -e DATABASE_URL=postgres://lumina:lumina_pw@luminadb:5432/lumina_config?sslmode=disable sosedoff/pgweb:latest",
2626 # Build and run
2727- "podman run -d --name luminadb --pod lumina-postgres-pod -e POSTGRES_USER=lumina -e POSTGRES_PASSWORD=lumina_pw -e POSTGRES_DB=lumina_config -v ./data/postgres:/var/lib/postgresql/data:Z postgres:17-alpine3.22",
2727+ "podman run -d --name luminadb --pod lumina-postgres-pod -e POSTGRES_USER=lumina -e POSTGRES_PASSWORD=lumina_pw -e POSTGRES_DB=lumina_config -v ./data/postgres:/var/lib/postgresql/data:Z docker.io/library/postgres:17-alpine3.22",
2828 "podman run -d --replace --name lumina-redis --pod lumina-postgres-pod -v ./data/redis:/data:Z redis",
2929 "podman build -f build.Dockerfile -t lumina-server:dev .",
3030 "echo pgweb on http://127.0.0.1:8081, Redis Commander on http://127.0.0.1:8082",
···4545 "podman build --build-arg optimize_build=true -t lumina-server:latest .",
4646 "podman pod create --name lumina-postgres-pod -p 8085:8085 -p 5432:5432",
4747 "podman run -d --replace --name lumina-redis --pod lumina-postgres-pod -v ./data/redis:/data redis",
4848- "podman run -d --name luminadb --pod lumina-postgres-pod -e POSTGRES_USER=lumina -e POSTGRES_PASSWORD=lumina_pw -e POSTGRES_DB=lumina_config -v ./data/postgres:/var/lib/postgresql/data:Z postgres:17-alpine3.22",
4848+ "podman run -d --name luminadb --pod lumina-postgres-pod -e POSTGRES_USER=lumina -e POSTGRES_PASSWORD=lumina_pw -e POSTGRES_DB=lumina_config -v ./data/postgres:/var/lib/postgresql/data:Z docker.io/library/postgres:17-alpine3.22",
4949 "podman run --name lumina-server-postgres --pod lumina-postgres-pod -e LUMINA_DB_TYPE=postgres -e LUMINA_POSTGRES_HOST=localhost -e LUMINA_POSTGRES_PORT=5432 -e LUMINA_POSTGRES_USERNAME=lumina -e LUMINA_POSTGRES_PASSWORD=lumina_pw -e LUMINA_POSTGRES_DATABASE=lumina_config -e LUMINA_SERVER_PORT=8085 -e LUMINA_SERVER_ADDR=0.0.0.0 lumina-server:latest",
5050]
5151···5959description = "Just runs the Podman image for a Redis and Postgres server for local development run to connect to."
6060depends = ["create-data-dirs"]
6161run = [
6262- "podman run --replace --name lumina-redis -p 6379:6379 -v ./data/redis:/data -d redis/redis-stack:7.2.0-v18",
6363- "podman run --replace -d -p 5432:5432 --name luminadb -e POSTGRES_USER=lumina -e POSTGRES_PASSWORD=lumina_pw -e POSTGRES_DB=lumina_config -v ./data/postgres:/var/lib/postgresql/data:Z postgres:17-alpine3.22",
6262+ "podman run --replace --name lumina-redis -p 6379:6379 -v ./data/redis:/data -d docker.io/redis/redis-stack:7.2.0-v18",
6363+ "podman run --replace -d -p 5432:5432 --name luminadb -e POSTGRES_USER=lumina -e POSTGRES_PASSWORD=lumina_pw -e POSTGRES_DB=lumina_config -v ./data/postgres:/var/lib/postgresql/data:Z docker.io/library/postgres:17-alpine3.22",
6464]
65656666[local-devel-dataexplorer]
+1-1
mise/tasks/run.toml
···77env.LUMINA_POSTGRES_PASSWORD = "lumina_pw"
8899[local-devel-watch]
1010-tools.watchexec = "latest"
1010+tools."cargo:watchexec-cli" = "latest"
1111description = "Run the server in development mode with file watching"
1212run = "watchexec --restart --stop-timeout=0 --shell=sh -e rs,gleam,toml,css,ts,json mise run local-devel"
1313run_windows = "watchexec --restart --stop-timeout=0 --shell=cmd -e rs,gleam,toml,css,ts,json mise run local-devel"