-
export environment variables
export IP=xx.xx.xx.xx; export DOMAIN=xxx.com; export SUBNET=xxx.xxx.xxx
-
get this
git clone xxx cd xxx
-
run containers
docker-compose up -d
[name].[domain]
name | env | desc | supplement |
---|---|---|---|
nginx | - | 提供反向代理,至各容器 | |
github | node | github hook,为每次push操作同步代码 | /hook,仅post |
at | - | react based frontend | |
static | - | 静态资源 |
frontend网段为[subnet].0/24
name | ip | desc |
---|---|---|
nginx | .2 | 核心 |
github_hook | .3 | 代码同步 |
mysql | .4 | |
php | .5 | laravel |