chore: properly add default port and blog name value
This commit is contained in:
parent
e0b18ba01f
commit
d436b32e37
|
@ -13,7 +13,7 @@ export SITE_PATH="/app/jekyll/$BLOG_NAME"
|
||||||
export SITE_TITLE=$SITE_TITLE
|
export SITE_TITLE=$SITE_TITLE
|
||||||
export THEME=$THEME
|
export THEME=$THEME
|
||||||
export TWITTER_USERNAME=$TWITTER_USERNAME
|
export TWITTER_USERNAME=$TWITTER_USERNAME
|
||||||
export WWW_PORT=${WWW_PORT:-4000}
|
export WWW_PORT=$WWW_PORT
|
||||||
export URL=$URL
|
export URL=$URL
|
||||||
|
|
||||||
update_config() {
|
update_config() {
|
||||||
|
|
|
@ -5,11 +5,11 @@ services:
|
||||||
build:
|
build:
|
||||||
context: ${PWD}
|
context: ${PWD}
|
||||||
args:
|
args:
|
||||||
BLOG_NAME: ${BLOG_NAME}
|
BLOG_NAME: ${BLOG_NAME:-blog}
|
||||||
env_file: ${PWD}/data/.env
|
env_file: ${PWD}/data/.env
|
||||||
ports:
|
ports:
|
||||||
- ${LIVERELOAD_PORT}:10000
|
- ${LIVERELOAD_PORT:-10000}:10000
|
||||||
- ${WWW_PORT}:4000
|
- ${WWW_PORT:-4000}:4000
|
||||||
volumes:
|
volumes:
|
||||||
- ${PWD}/jekyll:/app/jekyll
|
- ${PWD}/jekyll:/app/jekyll
|
||||||
- ${PWD}/data:/opt/jekyll
|
- ${PWD}/data:/opt/jekyll
|
||||||
|
|
Loading…
Reference in New Issue