30 lines
549 B
YAML
Executable File
30 lines
549 B
YAML
Executable File
services:
|
|
db:
|
|
image: postgres
|
|
environment:
|
|
- POSTGRES_USER=stan
|
|
- POSTGRES_PASSWORD=postgres
|
|
- POSTGRES_DB=postgres
|
|
ports:
|
|
- "5432:5432"
|
|
volumes:
|
|
- db-data:/var/lib/postgresql
|
|
|
|
sveltekit:
|
|
image: oven/bun
|
|
volumes:
|
|
- ./packages/web:/app
|
|
working_dir: /app
|
|
command: sh -c "bun install & bun run dev --host"
|
|
ports:
|
|
- "3000:5173"
|
|
env_file: .env
|
|
develop:
|
|
watch:
|
|
- action: sync
|
|
path: ./packages/web
|
|
target: /app
|
|
|
|
volumes:
|
|
db-data:
|