mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-12-06 06:36:25 +00:00
29 lines
808 B
YAML
29 lines
808 B
YAML
version: v2beta1
|
|
name: front
|
|
dev:
|
|
front:
|
|
imageSelector: ghcr.io/zoriya/kyoo_front
|
|
devImage: docker.io/oven/bun:latest
|
|
workingDir: /app
|
|
sync:
|
|
- path: .:/app
|
|
excludePaths:
|
|
- node_modules
|
|
startContainer: true
|
|
onUpload:
|
|
exec:
|
|
- command: bun install --frozen-lockfile
|
|
onChange:
|
|
- "./bun.lock"
|
|
# increased sysctl limits for file watching
|
|
# front uses Metro javascript bundler which watches a lot of files
|
|
# these are node level settings that should be raised
|
|
# example values:
|
|
# fs.inotify.max_user_instances = 8192
|
|
# fs.inotify.max_user_watches = 1048576
|
|
command:
|
|
- bash
|
|
- -c
|
|
- "bun install --frozen-lockfile; bun dev --port 8901"
|
|
ports:
|
|
- port: "8901" |