Compare commits
1
Commits
for_v0.33
...
pre-package
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7e7bde05b8 |
@@ -15,6 +15,12 @@ if [ ! -f "$samRoot/index.php" ]; then
|
|||||||
chown -R www-data:www-data $wwwRoot
|
chown -R www-data:www-data $wwwRoot
|
||||||
gosu www-data git clone $gameGitPath $samRoot
|
gosu www-data git clone $gameGitPath $samRoot
|
||||||
gosu www-data git checkout $gameGitBranch
|
gosu www-data git checkout $gameGitBranch
|
||||||
|
|
||||||
|
pushd $samRoot
|
||||||
|
gosu www-data npm ci
|
||||||
|
gosu www-data npm run build -- --env target=gateway
|
||||||
|
gosu www-data php composer.phar install
|
||||||
|
popd
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$HIDCHE_IMAGE_USE_INTERNAL" = "yes" ] && [ ! -d "$imageRoot" ]; then
|
if [ "$HIDCHE_IMAGE_USE_INTERNAL" = "yes" ] && [ ! -d "$imageRoot" ]; then
|
||||||
|
|||||||
@@ -13,8 +13,9 @@ services:
|
|||||||
web:
|
web:
|
||||||
build: ./web
|
build: ./web
|
||||||
restart: always
|
restart: always
|
||||||
ports:
|
#ports:
|
||||||
- 8080:80
|
# 기본 포트로 사용할 곳 지정. 아래와 같이 사용하면 8080
|
||||||
|
# - 8080:80
|
||||||
volumes:
|
volumes:
|
||||||
- hidche:/var/www/html:ro
|
- hidche:/var/www/html:ro
|
||||||
- board:/var/www/board:ro
|
- board:/var/www/board:ro
|
||||||
|
|||||||
@@ -25,7 +25,7 @@ services:
|
|||||||
target: /var/www/html
|
target: /var/www/html
|
||||||
#For DEV. Set app path as local directory
|
#For DEV. Set app path as local directory
|
||||||
- type: bind
|
- type: bind
|
||||||
source: ~/dev_sam/bbs
|
source: ~/dev_sam/board
|
||||||
target: /var/www/board
|
target: /var/www/board
|
||||||
|
|
||||||
app:
|
app:
|
||||||
|
|||||||
Reference in New Issue
Block a user