1 Star 15 Fork 8

aifuli123/go-zero-looklook

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
docker-compose.yml 1.10 KB
一键复制 编辑 原始数据 按行查看 历史
977231903@qq.com 提交于 2022-03-11 10:09 . update image
version: '3'
######## app下api+rpc , 启动本项目之前,要先启动本项目依赖的环境docker-compose-env.yml #######
services:
#前端网关nginx-gateay (只代理looklook,admin-api不在这里做代理)
nginx-gateway:
image: nginx:1.21.5
container_name: nginx-gateway
restart: always
privileged: true
environment:
- TZ=Asia/Shanghai
ports:
- 8888:8081
volumes:
- ./deploy/nginx/conf.d:/etc/nginx/conf.d
- ./data/nginx/log:/var/log/nginx
networks:
- looklook_net
depends_on:
- looklook
#前端api + 业务rpc
looklook:
image: lyumikael/gomodd:v1.0.0 # if you "macOs intel" or "linux amd"
#image: lyumikael/go-modd-env:v1.0.0 # if you macOs m1
container_name: looklook
environment:
# 时区上海
TZ: Asia/Shanghai
GOPROXY: https://goproxy.cn,direct
working_dir: /go/looklook
volumes:
- .:/go/looklook
privileged: true
restart: always
networks:
- looklook_net
networks:
looklook_net:
driver: bridge
ipam:
config:
- subnet: 172.20.0.0/16
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Go
1
https://gitee.com/aifuli123/go-zero-looklook.git
git@gitee.com:aifuli123/go-zero-looklook.git
aifuli123
go-zero-looklook
go-zero-looklook
main

搜索帮助