Skip to content

Production docker-compose with custom network #24

@sunba91-su

Description

@sunba91-su

Goal

Create a production-ready docker-compose.yml inside a deploy/ directory that uses the CI-built ghcr.io image instead of local builds.

Acceptance Criteria

  • Create deploy/ directory at repository root
  • deploy/docker-compose.yml uses image: ghcr.io/sunba91-su/roket.chat-geekbot:latest (no build: section)
  • Defines a custom Docker network geekbot-net (bridge, attachable)
  • Keeps existing: restart policy, resource limits, volume mount, env_file
  • Removes proxy build args (not needed for pre-built images)
  • Volume path for SQLite: /opt/geekbot/data:/data
  • Container name: geekbot
  • Docker Compose version >= 3.8

Technical Notes

  • Current compose is for development (local build). The production version should be deployable with zero local tooling.
  • Network should be named so the bot can be extended (e.g., future Postgres, Redis containers can join).
  • The image is already pushed by CI: ghcr.io/sunba91-su/roket.chat-geekbot:latest and :${{ github.sha }}

Dependencies

  • ghcr.io image push working (verified in CI)

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:deploymentDeployment infrastructure, docker-compose, setup scriptsenhancementNew feature or requestphase:feature

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions