Skip to content

Remove duplicate Docker build files in alyx repo (drift risk) #152

Description

@oliche

Problem

alyx/deploy/docker/ (in the alyx repo) duplicates iblsre/alyx/containers/docker/ — Dockerfile, Dockerfile_base, apache-conf, and settings files independently maintained in both places, building/pushing the same Docker Hub tags (internationalbrainlab/alyx_apache[_base]:latest).

iblsre is the pipeline actually used in production (confirmed against openalyx's live container). But alyx/docs/03_deployment.md ("Building the docker containers") still documents building from the alyx repo's own copy, to the same tags — a footgun: following that doc silently overwrites the production image with a possibly out-of-sync build. This is how our WSGI daemon config drifted between the two copies (see #151).

One exception: alyx/deploy/docker/settings-deploy.py is genuinely used by .github/workflows/main.yml to run CI under production-like settings, so it must stay.

Proposed fix

  • Delete the redundant build machinery from alyx/deploy/docker/: Dockerfile, Dockerfile_base, apache-conf-alyx, 000-default-conf-alyx (keep settings-deploy.py / settings_lab-deploy.py for CI).
  • Update docs/03_deployment.md's "Building the docker containers" section to point at iblsre instead of documenting a second build path.

Related: #151

Metadata

Metadata

Assignees

Labels

documentationImprovements or additions to documentationenhancementNew feature or request

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions