···4141run_windows = "..\\target\\debug\\lumina-server.exe"
4242dir = "{{config_root}}/data/"
43434444-[tasks.development-run-redis-docker]
4545-description = "Just runs the Docker image for a Redis server so that the development run can connect to it"
4646-run = "docker run --name lumina-redis -p 6379:6379 -v ./data/redis:/data -d redis/redis-stack:7.2.0-v18"
4747-4848-[tasks.development-run-redis-podman]
4444+[tasks.development-run-redis]
4945description = "Just runs the Podman image for a Redis server so that the development run can connect to it"
5046run = "podman run --name lumina-redis -p 6379:6379 -v ./data/redis:/data -d redis/redis-stack:7.2.0-v18"
5147···151147[task_config]
152148includes = [
153149 "./mise/tasks/podman-tasks.toml",
154154- "./mise/tasks/docker-compose-tasks.toml",
155150]
156151dir = "{{ config_root }}"
-43
mise/tasks/docker-compose-tasks.toml
···11-# == just docker-compose down all======================================================
22-[docker-compose-down-all]
33-description = "Stop and remove the docker-compose containers"
44-run = [
55- "docker compose -f ./docker-compose/with-sqlite.yml down --remove-orphans",
66- "docker compose -f ./docker-compose/with-postgres.yml down --remove-orphans",
77-]
88-# =====================================================================================
99-# == with postgres ====================================================================
1010-[docker-compose-up-postgres-no-optimise]
1111-description = "Run the docker-compose file combining lumina with a postgres database, development build (no optimisations)"
1212-run = [
1313- "mkdir -p ./data/postgres",
1414- "docker compose -f ./docker-compose/with-postgres-dev.yml up --build",
1515-]
1616-[docker-compose-up-postgres]
1717-description = "Run the docker-compose file combining lumina with a postgres database."
1818-env = { LUMINA_DOCKER_OPTIMIZE_BUILD = "true" }
1919-run = [
2020- "mkdir -p ./data/postgres",
2121- "docker compose -f ./docker-compose/with-postgres.yml up --build",
2222-]
2323-# ====================================================================================
2424-# == Build environment image =========================================================
2525-[build-env-image-docker]
2626-description = "Build and tag the lumina-build-environment image from Dockerfile.env"
2727-run = [
2828- "docker build -f Dockerfile.env -t lumina-build-environment ."
2929-]
3030-# == with sqlite =====================================================================
3131-[docker-compose-up-sqlite-no-optimise]
3232-description = "Run the docker-compose file combining lumina with a sqlite database, development build (no optimisations)"
3333-run = [
3434- "mkdir -p ./data/",
3535- "docker compose -f ./docker-compose/with-sqlite-dev.yml up --build",
3636-]
3737-[docker-compose-up-sqlite]
3838-description = "Run the docker-compose file combining lumina with a sqlite database."
3939-env = { LUMINA_DOCKER_OPTIMIZE_BUILD = "true" }
4040-run = [
4141- "mkdir -p ./data/",
4242- "docker compose -f ./docker-compose/with-sqlite.yml up --build",
4343-]