Skip to content

Docker compose with lenz. - #573

Merged
gsaluja9 merged 25 commits into
developfrom
include_lenz
Apr 1, 2025
Merged

gsaluja9 merged 25 commits into
developfrom
include_lenz

Conversation

@gsaluja9

@gsaluja9 gsaluja9 commented Mar 21, 2025 •

Copy link
Copy Markdown
Contributor

Deprecate webui
Also fixes the problem with docker compose's unique network names based on runner.
Adds some dev related docs.

@gsaluja9
gsaluja9 marked this pull request as ready for review March 24, 2025 17:55
@ali-asadpoor

Copy link
Copy Markdown
Contributor

It's better to make only tag of aperturedb configurable instead of image name + tag in docker compose file.

Comment thread test/docker-compose.yml Resolved
Comment thread test/dbinfo.py Resolved
Comment thread test/docker-compose.yml Resolved
@gsaluja9

Copy link
Copy Markdown
Contributor Author

It's better to make only tag of aperturedb configurable instead of image name + tag in docker compose file.

That is intentional, because it should default to community, which is a separate repo. I will separate the repo and the tag name for now.

Comment thread .github/workflows/main.yml Resolved
Comment thread .github/workflows/develop.yml Resolved
Comment thread .github/workflows/pr.yaml Resolved
@gsaluja9
gsaluja9 requested a review from bovlb March 27, 2025 17:11
@ali-asadpoor

Copy link
Copy Markdown
Contributor

@gsaluja9
Here is how to run multiple docker compose that expose the same port:

docker network create ${RUNNER_NAME}
GATEWAY=$(docker network inspect ${RUNNER_NAME} | jq -r .[0].IPAM.Config.[0].Gateway) && docker compose up

And inside docker-compose file (without any network section):

services:
  nginx:
    image: nginx
    ports:
      - ${GATEWAY}:80:80

Then run client container and access service via ${GATEWAY}:80.
Finally

docker compose down
docker network rm ${RUNNER_NAME}

Comment thread test/docker-compose.yml Resolved
ali-asadpoor
ali-asadpoor previously approved these changes Mar 31, 2025

@ali-asadpoor ali-asadpoor 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.

Thanks!

@ali-asadpoor
ali-asadpoor self-requested a review March 31, 2025 21:43
@gsaluja9
gsaluja9 merged commit bd67741 into develop Apr 1, 2025
@gsaluja9
gsaluja9 deleted the include_lenz branch April 1, 2025 00:52
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.

3 participants