代码拉取完成,页面将自动刷新
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'
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。