1 Star 0 Fork 0

豆子豆/vote-demo

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
docker-compose.yml 931 Bytes
一键复制 编辑 原始数据 按行查看 历史
豆子豆 提交于 2017-04-12 13:48 . first commit
version: "2"
services:
redis:
image: index.alauda.cn/library/redis:alpine
ports: ["6379"]
db:
image: index.alauda.cn/library/postgres:9.4
vote:
build: ./vote
command: python app.py
volumes:
- ./vote:/app
ports:
- "5000:80"
depends_on:
- redis
environment:
REDIS_PORT_6379_TCP_ADDR: redis
REDIS_PORT_6379_TCP_PORT: 6379
worker:
build: ./worker
command: java -jar target/worker-jar-with-dependencies.jar
depends_on:
- redis
- db
environment:
REDIS_PORT_6379_TCP_ADDR: redis
REDIS_PORT_6379_TCP_PORT: 6379
DB_PORT_5432_TCP_ADDR: db
DB_PORT_5432_TCP_PORT: 5432
result:
build: ./result
command: nodemon --debug server.js
volumes:
- ./result:/app
ports:
- "5001:80"
depends_on:
- db
environment:
DB_PORT_5432_TCP_ADDR: db
DB_PORT_5432_TCP_PORT: 5432
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/xingjia/vote-demo.git
[email protected]:xingjia/vote-demo.git
xingjia
vote-demo
vote-demo
master

搜索帮助