Skip to content

Docker endpoint, docs and env example#531

Merged
marcvergees merged 1 commit into
fireform-core:developmentfrom
chetanr25:docker_endpoint_docs
Jun 8, 2026
Merged

Docker endpoint, docs and env example#531
marcvergees merged 1 commit into
fireform-core:developmentfrom
chetanr25:docker_endpoint_docs

Conversation

@chetanr25

Copy link
Copy Markdown
Collaborator

docker/entrypoint.sh + docker/.env.example + docker/README.md

What

  • entrypoint.sh - shared init script for dev and prod containers: creates /data/db and /data/uploads if missing, runs DB init, then exec "$@" into the server (PID 1, receives signals correctly)
  • .env.example - single template for all env vars; copy to .env.dev or .env.prod before first run
  • docker/README.md - documents directory layout, volumes, env var notes, and migration guide from old root-level docker-compose.yml

Why

entrypoint.sh replaces inline shell in each compose command: field, so DB init logic lives in one place instead of being duplicated across dev and prod.

.env.example gives a single source of truth for required vars with inline comments.

Fixes: #516
Part of #512

@chetanr25 chetanr25 changed the base branch from main to development June 7, 2026 15:08
@chetanr25 chetanr25 changed the title Docker endpoint docs Docker endpoint, docs and env example Jun 7, 2026
@chetanr25 chetanr25 marked this pull request as ready for review June 7, 2026 15:27
@marcvergees marcvergees merged commit d745498 into fireform-core:development Jun 8, 2026
1 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Script for docker entrypoint and documentations

2 participants