Skip to content

URL links when serving with Docker compose or DevContainer use deployment URL #3028

@nathanpainchaud

Description

@nathanpainchaud

Describe the bug
When using docker compose up or the Dev Container config to serve the site locally, the website is served at the expected 0.0.0.0/localhost address. However, all of the links, e.g. in the header, use the deployment URL, i.e. academicpages.github.io by default.

To Reproduce
Serve the website locally with docker compose up or using the Dev Container extension for VS Code, and look at the URL of the header.

Expected behavior
To facilitate development, use local server URL in links to help navigate the dev version of the website.

Screenshots
If applicable, add screenshots to help explain your problem.

Browser (please complete the following information):

  • Device: not applicable
  • OS: not applicable
  • Browser not applicable
  • Version:
    • Docker: 28.1.1, build 4eba377327
    • Jekyll: 3.10.0
    • Repo: Up-to-date with commit ef8e08b on main branch.

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