Unclear instructions on running dev container for Full Stack mode
Is some content missing, wrong or not clear?
The documentation for full stack setup mentions "For the Full Stack configuration, the post-start script will additionally build the server .........". But, the repo does not contain anything such as a "post-start" script, the dev mode contains a post-create.sh
Describe the solution you'd like Clearer instructions should be provided for both these setups
Can I start working on this issue @millouu
Hi, Iād like to work on this documentation issue. Can I take this up?
I tried setting up the project locally following the full stack / dev container instructions and noticed the same confusion.
š Observations
- The documentation mentions a "post-start script"
- However, in the repository I could only find
post-create.sh - There is no clearly named "post-start" script in the dev container setup
ā ļø Impact
While setting up locally, this makes it unclear:
- Whether additional steps are required after container startup
- Or if
post-create.shis intended to handle both setup phases
š” Suggestion
It would help to:
- Either update the documentation to reference the correct script (
post-create.sh) - Or clarify what "post-start" refers to in the current setup (if it maps to another process or lifecycle hook)
Happy to help improve the documentation once the expected behavior is clarified.
I verified the full-stack dev container configuration in the repository.
In .devcontainer/full-stack/devcontainer.json, the setup uses:
postCreateCommand, which runsbash .devcontainer/dev/post-create.sh
There is no postStartCommand defined, and I could not find any "post-start" script in the repository.
This confirms that the documentation is referring to a non-existent script and should be updated to reflect the current implementation using postCreateCommand.
I can help update the documentation to clarify this if needed.
Hi @millouu and @harshach , I'd like to fix this. The docs reference a 'post-start' script but the repo only has post-create.sh in .devcontainer/dev/. I'll update the documentation to match the actual codebase. Can you assign this to me?
I verified this: the Full Stack devcontainer.json has no postStartCommand ā only postCreateCommand running .devcontainer/dev/post-create.sh. The server, migrations, and services actually start via docker compose (openmetadata-server, execute-migrate-all, mysql, elasticsearch services in docker/development/docker-compose.yml). I am opening a docs fix in docs-om to correct the wording.