forked from hyperledger-archives/grid-docs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
36 lines (35 loc) · 905 Bytes
/
docker-compose.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# Copyright (c) 2018-2019 Bitwise IO, Inc.
# Licensed under Creative Commons Attribution 4.0 International License
# https://creativecommons.org/licenses/by/4.0/
version: "2.1"
services:
jekyll:
image: generator-jekyll
build: ./generator
working_dir: /srv/jekyll/
entrypoint: /srv/jekyll/entrypoint-gen.sh
volumes:
- $PWD/generator:/srv/jekyll
linter:
image: linter
build: ./linter
volumes:
- $PWD/generator:/srv/jekyll
working_dir: /srv/jekyll/
entrypoint: /srv/jekyll/entrypoint-lint.sh
webserver:
image: grid-website
container_name: grid-website
build:
context: .
dockerfile: webserver/Dockerfile
working_dir: /srv/jekyll/
entrypoint: /srv/jekyll/entrypoint-web.sh
expose:
- 80
ports:
- 8000:80
volumes:
- $PWD/generator:/srv/jekyll
environment:
- BUILDONLY=${BUILDONLY}