Skip to content

Commit 5c7be53

Browse files
authored
Add docker-compose for local dev
1 parent 177fd8d commit 5c7be53

File tree

3 files changed

+21
-0
lines changed

3 files changed

+21
-0
lines changed

Gemfile.lock

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,14 +164,20 @@ GEM
164164
rb-fsevent (~> 0.10, >= 0.10.3)
165165
rb-inotify (~> 0.9, >= 0.9.10)
166166
mercenary (0.3.6)
167+
mini_portile2 (2.6.1)
167168
minima (2.5.1)
168169
jekyll (>= 3.5, < 5.0)
169170
jekyll-feed (~> 0.9)
170171
jekyll-seo-tag (~> 2.1)
171172
minitest (5.14.4)
172173
multipart-post (2.1.1)
174+
nokogiri (1.12.1)
175+
mini_portile2 (~> 2.6.1)
176+
racc (~> 1.4)
173177
nokogiri (1.12.1-arm64-darwin)
174178
racc (~> 1.4)
179+
nokogiri (1.12.1-x86_64-linux)
180+
racc (~> 1.4)
175181
octokit (4.21.0)
176182
faraday (>= 0.9)
177183
sawyer (~> 0.8.0, >= 0.5.3)
@@ -215,6 +221,8 @@ GEM
215221

216222
PLATFORMS
217223
arm64-darwin-20
224+
ruby
225+
x86_64-linux
218226

219227
DEPENDENCIES
220228
github-pages (~> 217)

_config.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
title: The Stupid Hackathon Thailand
22
description: >-
33
สร้างสิ่งของเพี้ยน ๆ ที่ไม่มีใครต้องการ และทำไอเดียบ้า ๆ บอ ๆ ให้กลายเป็นจริง ! งาน Hackathon แบบกี๊ค ๆ ที่ไม่จำกัดไอเดีย ไม่เน้นฝั่งธุรกิจ แต่เน้นความสนุกสำหรับนักพัฒนาแบบเพียว ๆ !!
4+
host: 0.0.0.0

docker-compose.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
services:
2+
web:
3+
image: ghcr.io/actions/jekyll-build-pages
4+
entrypoint: ''
5+
init: true
6+
command: 'bash -c "bundle && bundle exec jekyll serve"'
7+
volumes:
8+
- ./:/www
9+
- /usr/local/lib/ruby
10+
ports:
11+
- '4000:4000'
12+
working_dir: /www

0 commit comments

Comments
 (0)