1 Star 0 Fork 212

小羊驼/fu-admin

forked from FuAdmin/fu-admin 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
docker-compose.yml 1.68 KB
一键复制 编辑 原始数据 按行查看 历史
dhb52 提交于 2023-03-08 11:51 . 增加docker支持
version: "3"
services:
fuadmin-django:
build:
context: .
dockerfile: ./docker/django/Dockerfile
container_name: fuadmin-django
depends_on:
- fuadmin-mysql
environment:
TZ: Asia/Shanghai
ports:
- 8000:8000
expose:
- 8000
restart: always
fuadmin-web:
container_name: fuadmin-web
build:
context: ./
dockerfile: ./docker/web/Dockerfile
depends_on:
- fuadmin-django
ports:
- 8080:8080
expose:
- 8080
volumes:
- ./docker/web/nginx.conf:/etc/nginx/conf.d/fuadmin.conf
environment:
TZ: Asia/Shanghai
fuadmin-mysql:
image: mysql:8
container_name: fuadmin-mysql
restart: always
ports:
- 33060:3306
expose:
- 3306
environment:
MYSQL_ROOT_PASSWORD: "root"
MYSQL_DATABASE: "fuadmin"
TZ: Asia/Shanghai
volumes:
- mysql:/var/lib/mysql
fuadmin-redis:
image: redis:7-alpine
container_name: fuadmin-redis
restart: on-failure
environment:
- TZ=Asia/Shanghai
ports:
- 63790:6379
expose:
- 6379
volumes:
- redis:/data
fuadmin-celery:
build:
context: .
dockerfile: ./docker/celery/Dockerfile
container_name: fuadmin-celery
depends_on:
- fuadmin-mysql
environment:
TZ: Asia/Shanghai
restart: always
volumes:
mysql:
redis:
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/wouldmissyou/fu-admin.git
git@gitee.com:wouldmissyou/fu-admin.git
wouldmissyou
fu-admin
fu-admin
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385