You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
flyapps/Docker
youngS 83509a79de 增加容器部署 3 years ago
..
README.md 增加容器部署 3 years ago
app.hehelucky.cn.key 增加容器部署 3 years ago
app.hehelucky.cn.pem 增加容器部署 3 years ago
build.sh 增加容器部署 3 years ago
end.sh 增加容器部署 3 years ago
flyapps-vhost.conf 增加容器部署 3 years ago
flyapps.conf 增加容器部署 3 years ago
init.sh 增加容器部署 3 years ago
start.sh 增加容器部署 3 years ago
uwsgi.conf 增加容器部署 3 years ago

README.md

从git上面下载源码
cd /data/
git clone https://github.com/nineaiyu/FlyApps

docker环境安装 [centos7]

yum install epel-release -y
yum clean all && yum makecache
yum install docker -y

配置域名和证书,如果有cdn或者oss,也要进行配置

Docker/app.hehelucky.cn.key
Docker/app.hehelucky.cn.pem
Docker/flyapps-vhost.conf

api服务需要修改api和web域名,短信,邮箱,geetest,存储等信息

vim fir_ser/config.py

API_DOMAIN = "https://app.hehelucky.cn"
WEB_DOMAIN = "https://app.hehelucky.cn"
MOBILEPROVISION = "https://ali-static.jappstore.com/embedded.mobileprovision"

web页面需要修改指定api域名

vim fir_client/vue.config.js

const pro_base_env = {
    baseUrl: 'https://flyapps.cn',
    index_static: 'https://static.flyapps.cn/index/',
    baseShortUrl: 'https://flyapps.top',
    short_static: 'https://static.flyapps.top/short/',
};
构建静态资源和api服务
cd Docker && sh build.sh