mirror of
https://github.com/penpot/penpot.git
synced 2026-07-27 00:18:17 +00:00
Move shared services into an infra compose file and keep the main devenv container plus Valkey in a separate compose file driven by defaults.env. Parameterize host-side ports, container names, source path, and runtime env while keeping container-internal ports fixed for same-origin proxying. Make tmux startup idempotent, add attach-devenv for the live instance, move shared MinIO user setup to infra startup, and let exporter scripts load backend _env.local overrides. Co-authored-by: Codex <codex@openai.com>
15 lines
362 B
Bash
Executable File
15 lines
362 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
SCRIPT_DIR=$(dirname $0);
|
|
source $SCRIPT_DIR/../../backend/scripts/_env;
|
|
|
|
if [ -f $SCRIPT_DIR/../../backend/scripts/_env.local ]; then
|
|
source $SCRIPT_DIR/../../backend/scripts/_env.local;
|
|
fi
|
|
|
|
bb -i '(babashka.wait/wait-for-port "localhost" 9630)';
|
|
bb -i '(babashka.wait/wait-for-path "target/app.js")';
|
|
sleep 2;
|
|
|
|
exec node target/app.js
|