aboutsummaryrefslogblamecommitdiffstatshomepage
path: root/docker-compose.yml
blob: 18ec75e6f478018d308e19fecd45af4c94ad805b (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
              
         
       
          









                                           


                 


                                    
version: '3.2'
services:
  base:
    build:
      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:
      - type: bind
        source: "${PROJECT_DIR:-..}"
        target: '/project'