Files
clan-core/pkgs/clan-app/process-compose.yaml
Jörg Thalheim 3369e56d35 process-compose: simplify environment
we already are in the right devshell for clan-app, so we no longer need
direnv exec. Instead of depending on implicit enviroment variables we
can run change the directory based on the git root as this is easier to
read and follow.
2025-05-15 14:43:51 +02:00

21 lines
517 B
YAML

version: "0.5"
processes:
webview-ui:
command: |
cd $(git rev-parse --show-toplevel)/pkgs/clan-app/webview-ui/app
direnv allow
direnv exec . npm install
direnv exec . vite
ready_log_line: "VITE"
clan-app:
command: |
cd $(git rev-parse --show-toplevel)/pkgs/clan-app
./bin/clan-app --debug --content-uri http://localhost:3000
depends_on:
webview-ui:
condition: "process_log_ready"
is_foreground: true
ready_log_line: "Debug mode enabled"