-
Notifications
You must be signed in to change notification settings - Fork 95
Description
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.