Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need warning about building the container, I think.... #22

Closed
jackjansen opened this issue Apr 26, 2024 · 3 comments · Fixed by #24
Closed

Need warning about building the container, I think.... #22

jackjansen opened this issue Apr 26, 2024 · 3 comments · Fixed by #24
Assignees

Comments

@jackjansen
Copy link
Contributor

I get the impression that the config directory is now included in the orchestrator docker image (as opposed to the orchestrator v1, which mounted it from the host).

But that means that if you change anything you must re-run docker compose build. And the README didn't point this out, it states that docker compose up will build the container if needed.

I'm also not 100% sure whether any containers I build are uploaded to our registry, the name seems to suggest so, but I'm not sure.

@troeggla
Copy link
Member

troeggla commented Apr 27, 2024

Yes it is. I agree, I should probably change that.

Yeah, the name indicates that it will be uploaded to our registry if you do docker push, but I think I haven't done so in a while. Maybe it's worth setting up a Github action which builds the image and pushes it to our registry whenever a new tag is created.

@jackjansen
Copy link
Contributor Author

Hmm. And it seems that the .env file is also used at docker compose build time.

@troeggla
Copy link
Member

You can override .env values using environment variables (or the environment section of docker-compose.yml. But yeah, .env should probably be added to .dockerignore

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 a pull request may close this issue.

2 participants