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