Skip to content

Commit

Permalink
use run.sh script
Browse files Browse the repository at this point in the history
  • Loading branch information
huan committed Dec 28, 2020
1 parent 4a723c6 commit 4b5eba2
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 12 deletions.
12 changes: 1 addition & 11 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,7 @@ build:

.PHONY: run
run:
docker run \
--name 17salsa.com \
--rm \
-ti \
-e SALSA17_MYSQL_HOST \
-e SALSA17_MYSQL_USER \
-e SALSA17_MYSQL_PASS \
-p 8080:80 \
-v /tmp:/var/www/admin/UploadFiles/ \
--entrypoint bash \
17salsa.com
./scripts/run.sh

.PHONY: pull
pull:
Expand Down
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@

17SALSA is a salsa social network for salsa, bachata, merengue dancers

## Resources

- [简单两步解决UCenter忘记创始人UCenter Administrator密码](https://blog.csdn.net/wwppp987/article/details/96651185)

## Maintainer

[Huan](https://github.com/huan) [(阿布)](http:https://17salsa.com/home/abu), Chairman of [17SALSA](h
Expand Down
4 changes: 3 additions & 1 deletion scripts/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ docker run \
-v /data/17salsa.com/home/attachment:/www/home/attachment \
-v /data/17salsa.com/center/data:/www/center/data \
-p 8080:80 \
-e VIRTUAL_HOST=17salsa.com,www.17salsa.com,cdn.17salsa.com,17salsa.net,www.17salsa.net,17salsa.org,www.17salsa.org \
-e VIRTUAL_HOST=17salsa.com,*.17salsa.com,17salsa.net,*.17salsa.net,17salsa.org,*.17salsa.org \
-e LETSENCRYPT_HOST=17salsa.com,www.17salsa.com,cdn.17salsa.com,abu.17salsa.com,17salsa.net,www.17salsa.net,17salsa.org,www.17salsa.org \
-e HTTPS_METHOD=noredirect \
--entrypoint bash \
17salsa.com

Expand Down

0 comments on commit 4b5eba2

Please sign in to comment.