1 Star 0 Fork 344

mosson/Django

forked from 极客时间/Django 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
docker-compose-build-from-src.yml 1.00 KB
一键复制 编辑 原始数据 按行查看 历史
version: "3.2"
services:
web:
build:
context: .
dockerfile: Dockerfile
command: /bin/sh /data/recruitment/start.local.bat
environment:
- server_params=--settings=settings.local
volumes:
- .:/data/recruitment
- /data/logs/recruitment/
ports:
- "8000:8000"
depends_on:
- redis
- celery
- flower
redis:
image: "redis:alpine"
container_name: recruit-redis
ports:
- "6379:6379"
celery:
image: "ihopeit/django-recruitment:0.8"
container_name: recruit-celery
volumes:
- .:/data/recruitment
- /data/logs/recruitment/
entrypoint: ["/bin/sh", "/data/recruitment/worker.start.sh"]
depends_on:
- redis
flower:
image: "ihopeit/django-recruitment:0.8"
container_name: recruit-flower
ports:
- "5555:5555"
volumes:
- .:/data/recruitment
- /data/logs/recruitment/
entrypoint: ["/bin/sh", "/data/recruitment/flower.start.sh"]
depends_on:
- redis
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/mosson/django.git
git@gitee.com:mosson/django.git
mosson
django
Django
master

搜索帮助