diff --git a/codepot/docker/apache2-fg.sh b/codepot/docker/apache2-fg.sh index 5fe22e26..e91bea49 100755 --- a/codepot/docker/apache2-fg.sh +++ b/codepot/docker/apache2-fg.sh @@ -37,4 +37,5 @@ for e in "${!APACHE_@}"; do fi done -exec apache2 -DFOREGROUND "$@" +# start the mysql service and run the httpd server in the foreground +service mysql start && sleep 2 && exec apache2 -DFOREGROUND "$@" diff --git a/codepot/docker/readme.txt b/codepot/docker/readme.txt new file mode 100644 index 00000000..165c04da --- /dev/null +++ b/codepot/docker/readme.txt @@ -0,0 +1,5 @@ +Run the service + docker run rm -dit --restart unless-stopped --name codepot -p 7000:80 codepot:ubnt20.04 + +Run the shell on the existing container + docker exec -it codepot /bin/bash diff --git a/codepot/src/codepot/language/indonesian/common_lang.php b/codepot/src/codepot/language/indonesian/common_lang.php index cce4bf63..3e57c582 100644 --- a/codepot/src/codepot/language/indonesian/common_lang.php +++ b/codepot/src/codepot/language/indonesian/common_lang.php @@ -111,6 +111,7 @@ $lang['System'] = 'Sistem'; $lang['Tag'] = 'Label'; $lang['Text'] = 'Teks'; $lang['Time'] = 'Waktu'; +$lang['Toggle View'] = 'Toggle View'; $lang['Top committers'] = 'Top committers'; $lang['Top projects'] = 'Top projects'; $lang['Type'] = 'Type'; diff --git a/codepot/src/codepot/language/korean/common_lang.php b/codepot/src/codepot/language/korean/common_lang.php index 96b3cf0d..0df23b47 100644 --- a/codepot/src/codepot/language/korean/common_lang.php +++ b/codepot/src/codepot/language/korean/common_lang.php @@ -112,6 +112,7 @@ $lang['System'] = '시스템'; $lang['Tag'] = '태그'; $lang['Text'] = '본문'; $lang['Time'] = '시간'; +$lang['Toggle View'] = '뷰변경'; $lang['Top committers'] = '톱 커미터'; $lang['Top projects'] = '톱 프로젝트'; $lang['Type'] = '종류';