HugoHost/docker-compose.yml

24 lines
483 B
YAML

services:
hugo:
build:
context: .
dockerfile: Dockerfile
environment:
- GIT_REPO_URL="https://git.kitsunehosting.net/Kenwood/kitsune-hosting.git"
volumes:
- site-source:/app/site
- site-public:/app/public
restart: unless-stopped
nginx:
image: nginx:alpine
volumes:
- site-public:/usr/share/nginx/html
ports:
- "80:80"
restart: unless-stopped
volumes:
site-source: # HugoHost
site-public: # HugoHost