Files
Poseidon/scripts/start-postgres.sh
Moritz Jörg 27e54a7e1d feat: migrate to nix-actions and modernize build infrastructure
This commit series completes a major infrastructure overhaul:

- Migrate from manual GitHub Actions YAML to nix-actions workflow generation
- Add automated dependency update workflow with scheduled runs
- Add comprehensive Nix package definitions for all components (atlantis, sorcerer, archivist, etc.)
- Create containerized builds with proper Docker support
- Wrap scripts inside nix for better dependency management and shellcheck

The build system now uses pure Nix expressions for both local development
and CI/CD, providing better reproducibility and maintainability.
2025-08-12 09:49:22 +02:00

17 lines
423 B
Bash
Executable File

#!/usr/bin/env bash
echo "Starting postgresql server with docker"
if ! docker volume inspect archmaester_dev > /dev/null 2>&1; then
echo -n "Creating separate dev volume"
docker volume create archmaester_dev
fi
docker run -d --rm \
--name archmaester.dev \
-e "POSTGRES_PASSWORD=en to tre fire" \
-e POSTGRES_DB=archmaester_dev \
-v archmaester_dev:/var/lib/postgresql/data \
-p 54322:5432 \
postgres:14