services: api: build: context: ./api dockerfile: Dockerfile restart: unless-stopped ports: - 3001 environment: - DATABASE_URL=${DATABASE_URL} - PORT=3001 - NODE_ENV=production - APP_URL=${APP_URL} - ALLOWED_ORIGINS=${ALLOWED_ORIGINS} - BETTER_AUTH_SECRET=${BETTER_AUTH_SECRET} - HAMMER_API_KEY=${HAMMER_API_KEY} command: sh -c 'bun run db:push && bun run src/index.ts' web: build: context: ./web dockerfile: Dockerfile restart: unless-stopped ports: - 80 depends_on: - api