Skip to content

Running multiple instances at the same time聽#52

Description

@TheAngryByrd

馃憢

I wanted to open the discussion about how to support running multiple instances at the same time. Namely for grouping memories for specific projects.

I've made some minor changes to the docker-compose.yml in TheAngryByrd@63334f6. Notably:

  • Using COMPOSE_PROJECT_NAME for naming a group
  • Using MEMORIZER_PORT to control which port is exposed to the host
  • Commented out exposing other ports for now since they don't need to be exposed outside of the group.

docker-compose supports consuming env-files so can keep the names/ports consistent

COMPOSE_PROJECT_NAME=ionide-memorizer
MEMORIZER_PORT=5001
 docker-compose --env-file ionide.env up 
Image

This isn't complete (missing docs obviously), but I wanted to show part of it to get some feedback on the idea. Or maybe I'm dumb and there's an easier way to do this.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions