1 Star 8 Fork 0

xhongc/music-tag-web

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
local.bak.yml 1.66 KB
一键复制 编辑 原始数据 按行查看 历史
xhongc 提交于 2023-05-17 09:37 . feature:dockerfile
version: '3'
services:
django:
image: registry.cn-hangzhou.aliyuncs.com/charles0519/music_tag_web:latest
container_name: music-tag-web
expose:
- "8001"
volumes:
- D:\:/app/media:z # 配置本地音乐文件夹
restart: always
environment:
dockerrun: "yes"
depends_on:
- redis
- db
networks:
- internal
command: /start
celeryworker:
image: registry.cn-hangzhou.aliyuncs.com/charles0519/music_tag_web:latest
container_name: music_celeryworker
environment:
dockerrun: "yes"
ports: [ ]
volumes:
- D:\:/app/media:z # 配置本地音乐文件夹
depends_on:
- redis
- db
networks:
- internal
command: /start-celeryworker
celerybeat:
image: registry.cn-hangzhou.aliyuncs.com/charles0519/music_tag_web:latest
container_name: music_celerybeat
environment:
dockerrun: "yes"
ports: [ ]
depends_on:
- redis
- db
networks:
- internal
command: /start-celerybeat
redis:
image: redis:latest
restart: always
container_name: music_redis
networks:
- internal
expose:
- "6379"
db:
image: mysql:latest
restart: always
environment:
MYSQL_DATABASE: music3
MYSQL_ROOT_PASSWORD: 123456
networks:
- internal
expose:
- "3306"
nginx:
image: nginx:latest
restart: always
container_name: music_nginx
ports:
- "9150:80"
networks:
- internal
depends_on:
- django
volumes:
- D:\nginx.conf:/etc/nginx/nginx.conf:ro # 配置nginx.conf
- D:\:/app/media:z # 配置本地音乐文件夹
networks:
internal:
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/xhongc/music-tag-web.git
[email protected]:xhongc/music-tag-web.git
xhongc
music-tag-web
music-tag-web
dev_1.0

搜索帮助