romdex/compose.yaml

43 lines
1,019 B
YAML
Raw Permalink Normal View History

2024-12-13 11:00:53 -05:00
version: "3.9"
volumes:
romdex-data:
external: true
deno-cache:
external: true
2024-12-13 17:08:33 -05:00
romdex-db-data:
external: true
2024-12-13 11:00:53 -05:00
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
2024-12-13 17:08:33 -05:00
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