this repo has no description
0
fork

Configure Feed

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

$just local-devel-dataexplorer

+39 -37
+6
Justfile
··· 88 88 dev: 89 89 @just local-devel-prep 90 90 @just local-devel-watch 91 + 92 + [group("local-devel")] 93 + [doc("Run pgweb (8081) and redis-commander (8082) for local development")] 94 + local-devel-dataexplorer: local-devel-prep 95 + podman run -d --replace --name lumina-redis-commander -p 8082:8081 -e REDIS_HOSTS=host.containers.internal:6379 ghcr.io/joeferner/redis-commander:latest 96 + podman run -d --replace --name lumina-pgweb -p 8081:8081 -e'PGWEB_DATABASE_URL=postgres://lumina:lumina_pw@host.containers.internal:5432/lumina_config?sslmode=disable' sosedoff/pgweb:latest
+5
mise/tasks/moved-to-just.toml
··· 53 53 hide = true 54 54 description = "$just local-devel-watch" 55 55 run = "just local-devel-watch" 56 + 57 + [local-devel-dataexplorer] 58 + hide = true 59 + description = "$just local-devel-dataexplorer" 60 + run = "just local-devel-dataexplorer"
+28 -37
mise/tasks/podman.toml
··· 3 3 [pod-stop-all] 4 4 description = "Stop and remove all Lumina pods and containers" 5 5 run = [ 6 - "podman pod stop lumina-postgres-pod || echo ok", 7 - "podman pod rm lumina-postgres-pod || echo ok", 8 - "podman container rm lumina-server-postgres luminadb || echo ok", 6 + "podman pod stop lumina-postgres-pod || echo ok", 7 + "podman pod rm lumina-postgres-pod || echo ok", 8 + "podman container rm lumina-server-postgres luminadb || echo ok", 9 9 ] 10 10 11 11 # ===================================================================================== ··· 14 14 description = "Run Lumina with PostgreSQL in a pod, development build (no optimisations)" 15 15 depends = "create-data-dirs" 16 16 run = [ 17 - # Clean up any existing pods/containers first 18 - "podman pod stop lumina-postgres-pod || echo ok", 19 - "podman pod rm lumina-postgres-pod || echo ok", 20 - "podman container rm lumina-server-postgres luminadb lumina-redis || echo ok", 21 - # Create the pod 22 - "podman pod create --name lumina-postgres-pod -p 8085:8085 -p 5432:5432 -p 8081:8081 -p 8082:8082", 23 - # Pre-run the redis commander and pgweb containers so they are available immediately 24 - "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", 25 - "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", 26 - # Build and run 27 - "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", 28 - "podman run -d --replace --name lumina-redis --pod lumina-postgres-pod -v ./data/redis:/data:Z redis", 29 - "podman build -f build.Dockerfile -t lumina-server:dev .", 30 - "echo pgweb on http://127.0.0.1:8081, Redis Commander on http://127.0.0.1:8082", 31 - "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", 17 + # Clean up any existing pods/containers first 18 + "podman pod stop lumina-postgres-pod || echo ok", 19 + "podman pod rm lumina-postgres-pod || echo ok", 20 + "podman container rm lumina-server-postgres luminadb lumina-redis || echo ok", 21 + # Create the pod 22 + "podman pod create --name lumina-postgres-pod -p 8085:8085 -p 5432:5432 -p 8081:8081 -p 8082:8082", 23 + # Pre-run the redis commander and pgweb containers so they are available immediately 24 + "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", 25 + "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", 26 + # Build and run 27 + "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", 28 + "podman run -d --replace --name lumina-redis --pod lumina-postgres-pod -v ./data/redis:/data:Z redis", 29 + "podman build -f build.Dockerfile -t lumina-server:dev .", 30 + "echo pgweb on http://127.0.0.1:8081, Redis Commander on http://127.0.0.1:8082", 31 + "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", 32 32 ] 33 33 34 34 ··· 37 37 env = { LUMINA_DOCKER_OPTIMIZE_BUILD = "true" } 38 38 depends = "create-data-dirs" 39 39 run = [ 40 - # Clean up any existing pods/containers first 41 - "podman pod stop lumina-postgres-pod || echo ok", 42 - "podman pod rm lumina-postgres-pod || echo ok", 43 - "podman container rm lumina-server-postgres luminadb lumina-redis || echo ok", 44 - # Build and run 45 - "podman build --build-arg optimize_build=true -t lumina-server:latest .", 46 - "podman pod create --name lumina-postgres-pod -p 8085:8085 -p 5432:5432", 47 - "podman run -d --replace --name lumina-redis --pod lumina-postgres-pod -v ./data/redis:/data redis", 48 - "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", 49 - "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", 40 + # Clean up any existing pods/containers first 41 + "podman pod stop lumina-postgres-pod || echo ok", 42 + "podman pod rm lumina-postgres-pod || echo ok", 43 + "podman container rm lumina-server-postgres luminadb lumina-redis || echo ok", 44 + # Build and run 45 + "podman build --build-arg optimize_build=true -t lumina-server:latest .", 46 + "podman pod create --name lumina-postgres-pod -p 8085:8085 -p 5432:5432", 47 + "podman run -d --replace --name lumina-redis --pod lumina-postgres-pod -v ./data/redis:/data redis", 48 + "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", 49 + "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", 50 50 ] 51 51 52 52 # ==================================================================================== ··· 54 54 [build-env-image] 55 55 description = "Build and tag the lumina-build-environment image from env.Dockerfile" 56 56 run = ["podman build -f env.Dockerfile -t lumina-build-environment ."] 57 - 58 - 59 - 60 - [local-devel-dataexplorer] 61 - description = "Run pgweb and redis-commander for local development" 62 - run = [ 63 - "podman run -d --replace --name lumina-redis-commander -p 8082:8081 -e REDIS_HOSTS=localhost:6379 ghcr.io/joeferner/redis-commander:latest", 64 - "podman run -d --replace --name lumina-pgweb -p 8081:8081 -e DATABASE_URL=postgres://lumina:lumina_pw@localhost:5432/lumina_config?sslmode=disable sosedoff/pgweb:latest", 65 - ] 66 57 67 58 [devel-watch] 68 59 tools.watchexec = "latest"