Skip to content

Simplify docker compose #48

Description

@BasementCat

Based on suggestions in #16:

Create 2 docker compose files - one for development (default, docker-compose.yaml) and another for production (like docker-compose-prod.yaml) - can run docker compose up -d -f docker-compose.yaml docker-compose-prod.yaml to bring up the prod version.

Dev:

  • Remove nginx (and config file), run uwsgi on port 8000 via http
  • Update internal web host env var
  • Add additional configuration, like bootstrap local serving
  • Maintain image building & mounted dir

Prod:

  • Override image to use GHCR latest
  • Remove mounted dir

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    Status
    In review

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions