diff options
Diffstat (limited to '')
-rw-r--r-- | docker-compose.yml | 20 |
1 files changed, 15 insertions, 5 deletions
diff --git a/docker-compose.yml b/docker-compose.yml index 1600e0d..18ec75e 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,10 +1,20 @@ -version: '3' +version: '3.2' services: - serve: + base: build: - context: .. - dockerfile: docker/Dockerfile + context: . + dockerfile: "$PWD/Dockerfile.base" + args: + JEKYLL_USER: developer + project: + build: + context: "${PROJECT_DIR:-..}" + dockerfile: "$PWD/Dockerfile.project" + depends_on: + - base ports: - 4000:4000 volumes: - - ../:/home/developer/src + - type: bind + source: "${PROJECT_DIR:-..}" + target: '/project' |