Skip to content

Don't use duplicate hostnames for prod docker containers #8091

Open
@cdrini

Description

@cdrini

Currently we set the container's hostname to the host machine's hostname. This means multiple containers have the same hostname, which might be causing some of our issue w.r.t to accessing the host machine from a container. Switch to something more unique.

Eg instead of ol-home0 -> ol-home0-solr_updater-1 . Effectively {hostname}-{service name}-{instance}.

Concerns:

  • webserver logs use the hostname to write the logs to archive.org I think. Need to make sure that still writes to the same place.

Stakeholders

@cclauss

Metadata

Metadata

Assignees

No one assigned

    Labels

    Affects: Admin/MaintenanceIssues relating to support scripts, bots, cron jobs and admin web pages. [managed]Lead: @cdriniIssues overseen by Drini (Staff: Team Lead & Solr, Library Explorer, i18n) [managed]Priority: 3Issues that we can consider at our leisure. [managed]Type: Refactor/Clean-upIssues related to reorganization/clean-up of data or code (e.g. for maintainability). [managed]

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions