Files
todo3/docker-compose.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

31 lines
643 B
YAML

name: todo3
services:
fe:
build:
context: .
target: frontend
args:
PUBLIC_WS_URL: ${PUBLIC_WS_URL}
PUBLIC_BOX_DRAWING_CHARS: ${PUBLIC_BOX_DRAWING_CHARS:-─│┌┐└┘├┤}
ports:
- '${FE_PORT}:4173'
environment:
HOST: ${HOST}
restart: unless-stopped
be:
build:
context: .
target: backend
ports:
- '${BE_PORT}:3000'
environment:
JWT_SECRET: ${JWT_SECRET}
SIGNUP_SECRET: ${SIGNUP_SECRET}
ADMIN_EMAIL: ${ADMIN_EMAIL}
DB_PATH: /data/db.sqlite
volumes:
- ${DATA_DIR:-./data}:/data
restart: unless-stopped