Skip to content

#2319: Initial podman setup, more iterations follow#2321

Draft
jh-RLI wants to merge 9 commits into
developfrom
feature-2319-add-podman-setup
Draft

#2319: Initial podman setup, more iterations follow#2321
jh-RLI wants to merge 9 commits into
developfrom
feature-2319-add-podman-setup

Conversation

@jh-RLI
Copy link
Copy Markdown
Contributor

@jh-RLI jh-RLI commented May 19, 2026

Summary of the discussion

Describe the findings of the discussion in the issue or meeting.

Type of change (CHANGELOG.md)

Features

  • Add a new functionality
    (#)

Changes

  • Update existing functionality
    (#)

Bugs

  • Fixed a problem with
    (#)

Removed

  • Remove a broken link
    (#)

Documentation updates

  • Updated documentation for
    (#)

Workflow checklist

Automation

Closes #2319

PR-Assignee

Reviewer

  • 🐙 Follow the
    Reviewer Guidelines
  • 🐙 Provided feedback and show sufficient appreciation for the work done

jh-RLI and others added 9 commits May 19, 2026 19:29
… README

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Provides an alternative to podman-compose for servers running a systemd
user session. Each service is a standalone Podman quadlet unit file that
systemd manages directly — no compose binary required at runtime.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…paths #2319

- Add podman/serviceConfigs/ontop/ with empty mapping.obda skeleton,
  ontop.properties.template, .gitignore (excludes ontology.owl,
  postgresql.jar, ontop.properties), and setup README
- Update podman-compose.yaml and oep-ontop.container to mount from
  podman/serviceConfigs/ontop/ instead of docker/serviceConfigs/ontop/

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…ages #2319

- Add .github/workflows/build-production-image.yaml to build and push
  ghcr.io/openenergyplatform/oeplatform-production (app + Vite build) and
  ghcr.io/openenergyplatform/oeplatform-ontop (Ontop + JDBC driver) on v* tags
- Update podman-compose.yaml and quadlet container files to pull from
  registry instead of building locally on the server
- Update quadlets/install.sh to reflect pull-based deployment

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>


- Add explicit container_name to postgres service so dnsname CNI plugin
  registers it as "postgres" (matches OEP_DJANGO_HOST / LOCAL_DB_HOST)
- Declare external oep network; set default_network=oep in containers.conf
  to work around podman-compose 1.5.0 not passing --network to podman run
- Add networks section with oep to all services (explicit long-form)
- Add lookup_index named volume; move lookup config to podman/serviceConfigs/
  to keep podman and docker setups fully separate
- Prefix all short image names with docker.io/ (fixes short-name resolution)
- Fix docker/Dockerfile.ontop: qualify FROM ontop/ontop as docker.io/ontop/ontop

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…2319

- Correct Podman version requirement from 4.0 to 3.4+
- Document CNI plugin version mismatch fix (containernetworking-plugins
  0.9.1 vs cniVersion 1.0.0): download v1.9.1 binaries to ~/.config/cni/plugins
- Document podman-compose 1.5.0 network assignment bug and workaround:
  pre-create oep network + set default_network in containers.conf
- Update all commands to use --env-file podman/.env
- Add Quadlets section explaining why it avoids the network workaround
- Update Deploy section: pull pre-built images instead of building locally

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Use lookup-index named volume instead of docker/data/index bind mount
  (keeps podman and docker index data separate; fixes write.lock permission error)
- Point config volume to podman/serviceConfigs/lookup/ instead of docker/
- Add lookup-index.volume quadlet unit

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Add gitignore negation rules so .env.example and oep.env.example are
  tracked while .env files remain ignored (.env* glob was too broad)
- Add podman/.env.example to version control
- Document all required environment variables in README with descriptions

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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.

Podman based deployment solution

1 participant