代码拉取完成,页面将自动刷新
version: '3'
######## app下api+rpc , Before starting this project, start the environment that the project depends on docker-compose-env.yml #######
services:
#前端网关nginx-gateay (只代理looklook,admin-api不在这里做代理)
# Front-end gateway nginx-gateway (Only agent looklook,admin-api Do not be an agent here)
nginx-gateway:
image: nginx:1.21.5
container_name: nginx-gateway1
restart: always
privileged: true
environment:
- TZ=Asia/Shanghai
ports:
- 8888:5555
volumes:
- ./deploy/nginx/conf.d:/etc/nginx/conf.d
- ./logs/nginx/log:/var/log/nginx
networks:
- gozeroadmin_net
depends_on:
- gozeroadmin
#前端api + 业务rpc - Front-end API + business RPC
gozeroadmin:
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: gozeroadmin
environment:
# 时区上海 - Timezone Shanghai
TZ: Asia/Shanghai
GOPROXY: https://goproxy.cn,direct
working_dir: /go/gozeroadmin
volumes:
- .:/go/gozeroadmin
privileged: true
restart: always
networks:
- gozeroadmin_net
networks:
gozeroadmin_net:
external: true
# driver: bridge
# ipam:
# config:
# - subnet: 172.20.0.0/16
# gateway: 172.20.0.1
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。