Skip to content

Use docker compose extra_hosts to work around ol-home0 issues#13198

Merged
mekarpeles merged 1 commit into
internetarchive:masterfrom
cdrini:fix/ol-home-hostname
Jul 23, 2026
Merged

Use docker compose extra_hosts to work around ol-home0 issues#13198
mekarpeles merged 1 commit into
internetarchive:masterfrom
cdrini:fix/ol-home-hostname

Conversation

@cdrini

@cdrini cdrini commented Jul 23, 2026

Copy link
Copy Markdown
Collaborator

Part of #5143

ol-home0 services are unable to make requests to other containers when accessing through the FQDN. This work around allows us to change the openlibrary.yml to use infobase_nginx:7000, which will work for ol-home0 nodes since they are on the same docker network, and we use extra_hosts for non-ol-home0 nodes that need to access infobase.

See https://github.com/internetarchive/olsystem/pull/400

Technical

Testing

Screenshot

Stakeholders

ol-home0 services are unable to make requests to other containers when
accessing through the FQDN. This work around allows us to change the
openlibrary.yml to use infobase_nginx:7000, which will work for ol-home0
nodes since they are on the same docker network, and we use extra_hosts
for non-ol-home0 nodes that need to access infobase.
@mekarpeles
mekarpeles merged commit be893eb into internetarchive:master Jul 23, 2026
5 of 7 checks passed
@cdrini
cdrini deleted the fix/ol-home-hostname branch July 23, 2026 19:49
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.

2 participants