/
docker-compose.yml
51 lines (47 loc) · 1.09 KB
/
docker-compose.yml
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
version: "3.9"
services:
en:
image: $WERF_JEKYLL_BASE_DOCKER_IMAGE_NAME
working_dir: "/app"
environment:
JEKYLL_ENV: "dev"
command: bash -c "
chmod -R o+w /app/ &&
jekyll serve --disable-disk-cache --config _config.yml --destination /tmp/_site -P 80 --profile --trace --watch"
volumes:
- "./:/app/:cached"
networks:
default:
aliases:
- docs-en
ru:
image: $WERF_JEKYLL_BASE_DOCKER_IMAGE_NAME
working_dir: "/app"
environment:
JEKYLL_ENV: "dev"
command: bash -c "
chmod -R o+w /app/ &&
jekyll serve --disable-disk-cache --config _config.yml,_config_ru.yml --destination /tmp/_site -P 80 --profile --trace --watch"
volumes:
- "./:/app/:cached"
depends_on:
- en
networks:
default:
aliases:
- docs-ru
front:
image: nginx:latest
volumes:
- ".werf/nginx-dev.conf:/etc/nginx/nginx.conf:ro"
ports:
- "80:80"
depends_on:
- ru
- en
profiles:
- quick
networks:
default:
name: werfio-dev
external: true