-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
25 lines (24 loc) · 864 Bytes
/
docker-compose.yml
File metadata and controls
25 lines (24 loc) · 864 Bytes
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
version: "3.7"
services:
mondndiary:
image: ruby:2.7.3
restart: unless-stopped
working_dir: /usr/src/app/
ports:
- "4000:4000"
- "35729:35729"
volumes:
- ./Gemfile:/usr/src/app/Gemfile
- ./_config.yml:/usr/src/app/_config.yml
- ./_includes:/usr/src/app/_includes
- ./_layouts:/usr/src/app/_layouts
- ./_posts:/usr/src/app/_posts
- ./_sass:/usr/src/app/_sass
- ./css:/usr/src/app/css
- ./img:/usr/src/app/img
- ./favicon.ico:/usr/src/app/favicon.ico
- ./favicon-16x16.png:/usr/src/app/favicon-16x16.png
- ./favicon-32x32.png:/usr/src/app/favicon-32x32.png
- ./apple-touch-icon.png:/usr/src/app/apple-touch-icon.png
- ./index.html:/usr/src/app/index.html
command: ["bash", "-c", "bundle update && bundle exec jekyll server --host=0.0.0.0 --livereload"]