version: "3.9" volumes: romdex-data: external: true deno-cache: external: true romdex-db-data: external: true services: romdex: container_name: romdex env_file: .env.development.local build: dockerfile: Containerfile context: . target: development ports: - "8000:8000" volumes: - ./components:/app/components:ro - ./deno.json:/app/deno.json:ro - ./dev.ts:/app/dev.ts:ro - ./fresh.config.ts:/app/fresh.config.ts:ro - ./fresh.gen.ts:/app/fresh.gen.ts - ./islands:/app/islands:ro - ./main.ts:/app/main.ts:ro - ./routes:/app/routes:ro - ./static:/app/static:ro - ./tailwind.config.ts:/app/tailwind.config.ts:ro - deno-cache:/var/cache/deno - romdex-data:/app/data romdex-db: container_name: romdex-db image: docker.io/library/postgres:17-alpine env_file: .env.development.local ports: - "5432:5432" volumes: - romdex-db-data:/var/lib/postgresql/data