Files
todo3/docker-compose.dev.yml
luisdralves 3bc7bda1f6
All checks were successful
Build and Deploy / build-deploy (push) Successful in 29s
Add build and deploy workflow
2026-02-22 02:03:30 +00:00

30 lines
725 B
YAML

name: todo3
services:
fe:
image: oven/bun:latest
working_dir: /app
command: bun run --filter fe dev -- --host
ports:
- '${FE_PORT:-5173}:5173'
volumes:
- .:/app
environment:
HOST: ${HOST:-localhost}
PUBLIC_WS_URL: ${PUBLIC_WS_URL:-ws://localhost:3000/ws}
PUBLIC_BOX_DRAWING_CHARS: ${PUBLIC_BOX_DRAWING_CHARS:-─│┌┐└┘├┤}
be:
image: oven/bun:latest
working_dir: /app
command: bun run --filter be dev
ports:
- '${BE_PORT:-3000}:3000'
volumes:
- .:/app
environment:
JWT_SECRET: ${JWT_SECRET}
SIGNUP_SECRET: ${SIGNUP_SECRET}
ADMIN_EMAIL: ${ADMIN_EMAIL:-admin@localhost}
DB_PATH: /app/${DB_PATH}