Final piece of the docker reorganization. Once dev and prod live under docker/, we need the shared glue and a default entrypoint so contributors run one obvious command.
docker/
entrypoint.sh # shared container entrypoint
README.md # which compose file to use when
docker-compose.yml # thin top-level, defaults to docker/dev
Add docker entrypoint, README, and thin top-level
docker-compose.ymlContext
Final piece of the docker reorganization. Once dev and prod live under
docker/, we need the shared glue and a default entrypoint so contributors run one obvious command.Goal
Tasks
docker/entrypoint.sh: replaces the currentcontainer-init.sh; handles container startup (wait for deps, DB init, launch command). Used by dev and prod Dockerfiles.docker/README.md: short table which file for dev, prod, and any extra/admin compose; one-line purpose each.docker-compose.yml: thin file that delegates to / includesdocker/dev/compose.ymlso a baredocker compose upgives the dev environment.Dockerfileandcontainer-init.shonce superseded.Depends on
docker/dev/Add Docker dev environment #514 anddocker/prod/Add docker prod environment #515 issues.Part of #512