this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Rename Dockerfiles for clarity

+16 -18
+8 -10
.devcontainer/devcontainer.json
··· 1 1 // For format details, see https://aka.ms/devcontainer.json. For config options, see the 2 2 // README at: https://github.com/devcontainers/templates/tree/main/src/ubuntu 3 3 { 4 - "name": "Ubuntu", 5 - // Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile 6 - "image": "mcr.microsoft.com/devcontainers/base:jammy", 7 - "features": { 8 - "ghcr.io/devcontainers/features/docker-in-docker:2": {}, 9 - "ghcr.io/devcontainers-extra/features/mise:1": {} 4 + "name": "Lumina devenv", 5 + "build": { 6 + "dockerfile": "../env.Dockerfile" 10 7 }, 8 + // "features": { 9 + // ghcr.io/devcontainers/features/docker-in-docker:2": {}, 10 + // "ghcr.io/devcontainers-extra/features/mise:1": {} 11 + // }, 11 12 // Features to add to the dev container. More info: https://containers.dev/features. 12 13 // "features": {}, 13 14 // Use 'forwardPorts' to make a list of ports inside the container available locally. 14 15 "forwardPorts": [8085], 15 16 // Use 'postCreateCommand' to run commands after the container is created. 16 17 "postCreateCommand": [ 17 - "git remote set-url origin ssh://git@codeberg.org/strawmelonjuice/lumina.git", 18 - "echo eval \"$(mise activate bash)\" >> ~/.bashrc", 19 18 "mise trust", 20 19 "mise use -g usage", 21 20 "mise install", ··· 23 22 "mise completion bash --include-bash-completion-lib > ~/.local/share/bash-completion/completions/mise" 24 23 ], 25 24 "postStartCommand": [ 26 - "git remote set-url origin ssh://git@codeberg.org/strawmelonjuice/lumina.git", 27 - "mise trust && mise install" 25 + "git remote set-url origin ssh://git@git.strawmelonjuice.com/strawmelonjuice/Lumina.git" 28 26 ] 29 27 // Configure tool-specific properties. 30 28 // "customizations": {},
Dockerfile.build build.Dockerfile
Dockerfile.env env.Dockerfile
+4 -4
mise/tasks/podman-tasks.toml
··· 28 28 # Build and run 29 29 "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", 30 30 "podman run -d --replace --name lumina-redis --pod lumina-postgres-pod -v ./data/redis:/data:Z redis", 31 - "podman build -f Dockerfile.build -t lumina-server:dev .", 31 + "podman build -f build.Dockerfile -t lumina-server:dev .", 32 32 "echo Adminer on http://127.0.0.1:8082, RedisInsight on http://127.0.0.1:8081", 33 33 "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:dev", 34 34 ] ··· 53 53 # ==================================================================================== 54 54 # == Build environment image ========================================================= 55 55 [build-env-image-podman] 56 - description = "Build and tag the lumina-build-environment image from Dockerfile.env" 57 - run = ["podman build -f Dockerfile.env -t lumina-build-environment ."] 56 + description = "Build and tag the lumina-build-environment image from env.Dockerfile" 57 + run = ["podman build -f env.Dockerfile -t lumina-build-environment ."] 58 58 # == with sqlite ===================================================================== 59 59 [pod-up-sqlite-no-optimise] 60 60 depends = "create-data-dirs" ··· 73 73 "podman run -d --replace --name lumina-sqlite-web --pod lumina-sqlite-pod -e SQLITE_DATABASE=/app/data/instance.sqlite -v ./data/:/app/data/ coleifer/sqlite-web:latest", 74 74 # Build and run 75 75 "podman run -d --replace --name lumina-redis -v ./data/redis:/data --pod lumina-sqlite-pod redis", 76 - "podman build -f Dockerfile.build -t lumina-server:dev .", 76 + "podman build -f build.Dockerfile -t lumina-server:dev .", 77 77 "echo RedisInsight on http://127.0.0.1:8081, SQLite Web on http://127.0.0.1:8083", 78 78 "podman run --name lumina-server-sqlite --pod lumina-sqlite-pod -e LUMINA_DB_TYPE=sqlite -e LUMINA_SQLITE_FILE=data/instance.sqlite -e LUMINA_SERVER_PORT=8085 -e LUMINA_SERVER_ADDR=0.0.0.0 -v ./data/:/app/data/:Z lumina-server:dev", 79 79 ]
+4 -4
mise/tasks/podman.toml
··· 29 29 # Build and run 30 30 "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", 31 31 "podman run -d --replace --name lumina-redis --pod lumina-postgres-pod -v ./data/redis:/data:Z redis", 32 - "podman build -f Dockerfile.build -t lumina-server:dev .", 32 + "podman build -f build.Dockerfile -t lumina-server:dev .", 33 33 "echo Adminer on http://127.0.0.1:8082, RedisInsight on http://127.0.0.1:8081", 34 34 "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:dev", 35 35 ] ··· 54 54 # ==================================================================================== 55 55 # == Build environment image ========================================================= 56 56 [build-env-image-podman] 57 - description = "Build and tag the lumina-build-environment image from Dockerfile.env" 58 - run = ["podman build -f Dockerfile.env -t lumina-build-environment ."] 57 + description = "Build and tag the lumina-build-environment image from env.Dockerfile" 58 + run = ["podman build -f env.Dockerfile -t lumina-build-environment ."] 59 59 # == with sqlite ===================================================================== 60 60 [pod-up-sqlite-no-optimise] 61 61 depends = "create-data-dirs" ··· 74 74 "podman run -d --replace --name lumina-sqlite-web --pod lumina-sqlite-pod -e SQLITE_DATABASE=/app/data/instance.sqlite -v ./data/:/app/data/ coleifer/sqlite-web:latest", 75 75 # Build and run 76 76 "podman run -d --replace --name lumina-redis -v ./data/redis:/data --pod lumina-sqlite-pod redis", 77 - "podman build -f Dockerfile.build -t lumina-server:dev .", 77 + "podman build -f build.Dockerfile -t lumina-server:dev .", 78 78 "echo RedisInsight on http://127.0.0.1:8081, SQLite Web on http://127.0.0.1:8083", 79 79 "podman run --name lumina-server-sqlite --pod lumina-sqlite-pod -e LUMINA_DB_TYPE=sqlite -e LUMINA_SQLITE_FILE=data/instance.sqlite -e LUMINA_SERVER_PORT=8085 -e LUMINA_SERVER_ADDR=0.0.0.0 -v ./data/:/app/data/:Z lumina-server:dev", 80 80 ]