1 Star 0 Fork 26

xiaoshi_love / Nest-Web

forked from 蕉zisuzz / Nest-Web 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
docker-compose-swarm.yml 785 Bytes
一键复制 编辑 原始数据 按行查看 历史
蕉zisuzz 提交于 2019-10-08 10:33 . first 提交
version: "3"
services:
nest:
image: nest
deploy:
replicas: 1
restart_policy:
condition: on-failure
volumes:
- .env:/app/.env
depends_on:
- db
nginx:
image: nginx
deploy:
replicas: 1
restart_policy:
condition: on-failure
depends_on:
- nest
environment:
- NGINX_SERVER_NAME=_
- NEST_HOST=nest
- NEST_PORT=3000
- NGINX_MAX_BODY=100M
ports:
- 80:80
db:
image: mariadb:10
deploy:
replicas: 1
restart_policy:
condition: on-failure
environment:
MYSQL_DATABASE: nest
MYSQL_USER: nest
MYSQL_PASSWORD: nest
MYSQL_ROOT_PASSWORD: root
volumes:
- mariadbdata:/var/lib/mysql
volumes:
mariadbdata:
TypeScript
1
https://gitee.com/xiaoshi_love/Nest-Web.git
git@gitee.com:xiaoshi_love/Nest-Web.git
xiaoshi_love
Nest-Web
Nest-Web
master

搜索帮助

53164aa7 5694891 3bd8fe86 5694891