forked from hyperledger-archives/grid-docs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
51 lines (48 loc) · 1.14 KB
/
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
# 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:
grid-docs-jekyll:
build:
dockerfile: docker/jekyll.dockerfile
context: .
image: grid-docs-jekyll
container_name: grid-docs-jekyll
working_dir: /srv/jekyll/
ports:
- 4000:4000
volumes:
- $PWD:/srv/jekyll
environment:
- JEKYLL_ENV=${JEKYLL_ENV}
entrypoint: |
bash -c "
rm -rf _site
jekyll serve --config ./_config.yml
"
grid-docs-redoc-0-1:
container_name: grid-docs-redoc-0-1
image: grid-docs-redoc
build:
dockerfile: docker/grid-docs-redoc
context: .
ports:
- 4001:4001
volumes:
- .:/project
entrypoint: |
bash -c "
cd /project/docs/0.1/references/api
redoc-cli serve openapi.yaml -w -p 4001
"
grid-docs-apache:
container_name: grid-docs-apache
image: grid-docs-apache
build:
dockerfile: docker/grid-docs-apache
context: .
ports:
- 8080:80
volumes:
- .:/project