mirror of
https://github.com/tiennm99/coolify.git
synced 2026-08-19 00:23:30 +00:00
Keep the dev container as root for s6 init so composer can create vendor/ on root-owned mounts, then chown writable paths to www-data. Move init-setup into a shell script and expose VITE_HOST/PORT for remote HMR (LAN/Tailscale) with Vite listening on 0.0.0.0.
14 lines
457 B
JSON
14 lines
457 B
JSON
{
|
|
"scripts": {
|
|
"setup": "cp $JEAN_ROOT_PATH/.env .",
|
|
"teardown": null,
|
|
"run": "docker rm -f coolify coolify-minio-init coolify-realtime coolify-minio coolify-testing-host coolify-redis coolify-db coolify-mail coolify-vite; docker compose -f docker-compose.yml -f docker-compose.dev.yml up; docker compose -f docker-compose.yml -f docker-compose.dev.yml down"
|
|
},
|
|
"ports": [
|
|
{
|
|
"port": 8000,
|
|
"label": "Coolify UI"
|
|
}
|
|
]
|
|
}
|