WIP! A BB-style forum, on the ATmosphere! We're still working... we'll be back soon when we have something to show off!
node typescript hono htmx atproto

Merge pull request #1 from malpercio-dev/claude/setup-postgres-docker-J6AqV

authored by

Malpercio and committed by
GitHub
30d024c1 358a8d56

+30
+15
devenv.nix
··· 10 10 pkgs.turbo 11 11 ]; 12 12 13 + services.postgres = { 14 + enable = true; 15 + package = pkgs.postgresql_17; 16 + listen_addresses = "127.0.0.1"; 17 + port = 5432; 18 + initialDatabases = [ 19 + { name = "atbb"; } 20 + ]; 21 + initialScript = '' 22 + CREATE USER atbb WITH PASSWORD 'atbb'; 23 + GRANT ALL PRIVILEGES ON DATABASE atbb TO atbb; 24 + ALTER DATABASE atbb OWNER TO atbb; 25 + ''; 26 + }; 27 + 13 28 processes = { 14 29 appview.exec = "pnpm --filter @atbb/appview dev"; 15 30 web.exec = "pnpm --filter @atbb/web dev";
+15
docker-compose.yml
··· 1 + services: 2 + postgres: 3 + image: postgres:17 4 + container_name: atbb-postgres 5 + environment: 6 + POSTGRES_USER: atbb 7 + POSTGRES_PASSWORD: atbb 8 + POSTGRES_DB: atbb 9 + ports: 10 + - "5432:5432" 11 + volumes: 12 + - pgdata:/var/lib/postgresql/data 13 + 14 + volumes: 15 + pgdata: