jekyll_docker/docker-compose.yml

16 lines
315 B
YAML

version: "3"
services:
jekyll:
container_name: jekyll
build:
context: .
args:
BLOG_NAME: ${BLOG_NAME:-blog}
env_file: ./data/.env
ports:
- ${LIVERELOAD_PORT:-10000}:10000
- ${WWW_PORT:-4000}:4000
volumes:
- ./jekyll:/app/jekyll
- ./data:/opt/jekyll