1 Star 0 Fork 1

Ashleym/ruoyi-vue-django

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
docker-compose.yaml 812 Bytes
一键复制 编辑 原始数据 按行查看 历史
Ashleym 提交于 2022-06-17 18:24 . 自动重启uwsgi,nginx
version: "2"
services:
node:
build:
context: .
dockerfile: Dockerfile-node
image: node
container_name: web_node
uwsgi:
build:
context: .
dockerfile: Dockerfile-uwsgi
image: uwsgi
container_name: web_uwsgi
networks:
ruoyi-vue-django-net:
ipv4_address: 172.18.0.1
ports:
- "8000:8000"
restart: always
nginx:
build:
context: .
dockerfile: Dockerfile-nginx
image: nginx
container_name: web_nginx
networks:
ruoyi-vue-django-net:
ipv4_address: 172.18.0.2
ports:
- "80:80"
depends_on:
- node
- uwsgi
restart: always
networks:
ruoyi-vue-django-net:
driver: bridge
ipam:
config:
- subnet: 172.18.0.0/16
gateway: 172.18.0.254
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/Ashleym/ruoyi-vue-django.git
[email protected]:Ashleym/ruoyi-vue-django.git
Ashleym
ruoyi-vue-django
ruoyi-vue-django
main

搜索帮助