58 Star 573 Fork 213

FuAdmin/fu-admin

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
docker-compose.yml 2.20 KB
一键复制 编辑 原始数据 按行查看 历史
dlpuzcl 提交于 2023-09-03 17:35 . Revert "从master删除goview"
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
networks:
network:
ipv4_address: 177.8.0.12
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
networks:
network:
ipv4_address: 177.8.0.11
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
networks:
network:
ipv4_address: 177.8.0.13
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
networks:
network:
ipv4_address: 177.8.0.15
fuadmin-celery:
build:
context: .
dockerfile: ./docker/celery/Dockerfile
container_name: fuadmin-celery
depends_on:
- fuadmin-mysql
environment:
TZ: Asia/Shanghai
restart: always
networks:
network:
ipv4_address: 177.8.0.14
volumes:
mysql:
redis:
networks:
network:
ipam:
driver: default
config:
- subnet: '177.8.0.0/16'
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/fuadmin/fu-admin.git
[email protected]:fuadmin/fu-admin.git
fuadmin
fu-admin
fu-admin
master

搜索帮助