nodes/store/compose.yml
Max Richter 9d4d67f086
Some checks failed
Deploy to GitHub Pages / build_site (push) Failing after 13s
feat: initial backend store prototype
2024-12-17 18:15:21 +01:00

30 lines
618 B
YAML

services:
app:
image: denoland/deno:latest
working_dir: /app
ports:
- 8000:8000
environment:
DATABASE_URL: postgres://nodarium:nodarium@db:5432/nodarium
volumes:
- .:/app
- deno-cache:/deno-dir/
command: run --allow-net --allow-env --allow-read --watch src/main.ts
depends_on:
- db
db:
image: postgres:latest
environment:
POSTGRES_USER: nodarium
POSTGRES_PASSWORD: nodarium
POSTGRES_DB: nodarium
ports:
- "5432:5432"
volumes:
- postgres-data:/var/lib/postgresql/data
volumes:
postgres-data:
deno-cache: