Skip to content

Commit

Permalink
support unofficial update source.
Browse files Browse the repository at this point in the history
  • Loading branch information
uzulla committed Mar 27, 2021
1 parent 51edb1b commit 8dfa6b1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/config_read_from_env.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,7 @@
define('WWW_DIR', (string)getenv("FC2_DOCUMENT_ROOT_PATH"));

define("DEFAULT_BLOG_ID", (string)getenv("FC2_DEFAULT_BLOG_ID"));

if(strlen((string)getenv("FC2_GITHUB_REPO")) > 0) {
define("GITHUB_REPO", (string)getenv("FC2_GITHUB_REPO"));
}
1 change: 1 addition & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ services:
FC2_DOCUMENT_ROOT_PATH: "/fc2blog/public/"
DEBUG_FORCE_CAPTCHA_KEY: "1234" # デバッグ用にCAPTCHAの値を固定する
# FC2_DEFAULT_BLOG_ID: "testblog2" # experimental single tenant mode.
# FC2_GITHUB_REPO: "/uzulla/fc2blog" # experimental update from unofficial repo
depends_on:
- db
working_dir: "/fc2blog"
Expand Down

0 comments on commit 8dfa6b1

Please sign in to comment.