Skip to content

Production Docker compose, GitHub workflow for GHCR, and quickstart docs - #34

Merged
pollardld merged 6 commits into
dockerdecouplefrom
dd7
Jul 22, 2026
Merged

Production Docker compose, GitHub workflow for GHCR, and quickstart docs#34
pollardld merged 6 commits into
dockerdecouplefrom
dd7

Conversation

@pollardld

@pollardld pollardld commented Jul 21, 2026

Copy link
Copy Markdown
Member

dd7 branch on wcoa is part of docker decoupling.

Symbiotic relationship with Ecotrust/madrona-portal#60


Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR advances the “docker decoupling” work by adding a production-oriented Docker Compose definition for running WCOA against a published image, introducing a GitHub Actions workflow to build/publish that image to GHCR, and documenting a minimal Docker quickstart for local use.

Changes:

  • Fixes the Taskfile base-image build command quoting so the task runs.
  • Adds docker/compose.prod.yml for running the stack from prebuilt images (PostGIS, Redis, Tomcat/Geoportal, Elasticsearch, etc.).
  • Adds a GH Actions workflow to build and publish ghcr.io/ecotrust/wcoa, plus quickstart instructions in README.md.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 7 comments.

File Description
Taskfile.yml Updates local task automation for building the base image and running the dev stack.
README.md Adds a short Docker quickstart for the split base/overlay workflow.
docker/compose.prod.yml Introduces a production compose file wired to the published GHCR image and supporting services.
.github/workflows/build-and-publish-image.yml Adds CI to build/push the WCOA image to GHCR with SHA/latest tagging.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread Taskfile.yml Outdated
Comment thread docker/compose.prod.yml
Comment on lines +48 to +49
ports:
- "${DB_PORT:-5432}:5432"
Comment thread docker/compose.prod.yml
Comment on lines +62 to +63
ports:
- "${REDIS_PORT:-6379}:6379"
Comment on lines +45 to +47
tags: |
${{ env.IMAGE_NAME }}:${{ steps.meta.outputs.sha }}
${{ env.IMAGE_NAME }}:latest
Comment thread docker/compose.prod.yml
Comment on lines +12 to +14
- MP_PROJECT_CONFIG=/usr/local/apps/madrona-portal/apps/wcoa/docker/config.wcoa.docker.ini
- SECRET_KEY=${SECRET_KEY}
- ALLOWED_HOSTS=${ALLOWED_HOSTS:-localhost,127.0.0.1,::1}
Comment thread docker/compose.prod.yml
Comment on lines +17 to +20
- DB_NAME=${DB_NAME:-wcoa_docker_db}
- DB_USER=${DB_USER:-postgres}
- DB_PASSWORD=${DB_PASSWORD}
- DB_HOST=db
Comment thread docker/compose.prod.yml
Comment on lines +108 to +111
- xpack.security.enabled=false
- path.repo=/usr/share/elasticsearch/backups
ports:
- 9200:9200
@pollardld
pollardld merged commit b402e3d into dockerdecouple Jul 22, 2026
@pollardld
pollardld deleted the dd7 branch July 22, 2026 00:05
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.

2 participants