Skip to content

Question about functionality #83

@GideonWolfe

Description

@GideonWolfe

I want to migrate my hugo setup to docker-compose.

My current method is by hosting my website in a repo, cloning it to my server, and running hugo there. To update my site, I run a local server to write, then push, then ssh to server, then pull, then build hugo.

How can I dockerize this process? I really don't care about building an automatic CI pipeline with a custom hugo image. I would be fine with the same method except hugo itself is running in a docker container. If I could just mount the git repository as a container volume? How would I go about updating those files? Could I just pull like normal?

The reason I want to use docker is to integrate it into my pre-existing server with other services running, so the networking will be handled through docker.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions