1 Star 0 Fork 1K

collepal/sg-exam

forked from GuYiTan/sg-exam 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
docker-compose.yml 1.64 KB
一键复制 编辑 原始数据 按行查看 历史
GuYiTan 提交于 2023-06-27 22:58 . 集成 kkFileView 在线预览文档
version: '2.1'
services:
sg-next-app:
build: frontend
image: ${SG_EXAM_REGISTRY}/sg-next-app:${SG_EXAM_VERSION}
networks:
- my-network
ports:
- "81:80"
- "443:443"
volumes:
- ./config-repo/nginx/nginx.conf:/etc/nginx/nginx.conf
- ./config-repo/nginx/cert:/etc/nginx/cert
sg-user-service:
build: sg-user-service
image: ${SG_EXAM_REGISTRY}/sg-user-service:${SG_EXAM_VERSION}
mem_limit: 8g
networks:
- my-network
env_file: config-repo/env/sg-user-service.env
ports:
- "9183:80"
- "4004:4004"
volumes:
- ./config-repo/:/config-repo/
redis:
image: redis:latest
container_name: redis
restart: always
command: redis-server /usr/local/etc/redis/redis.conf
ports:
- "6379:6379"
volumes:
- ./data/redis-data:/data
- ./config-repo/redis/redis.conf:/usr/local/etc/redis/redis.conf
networks:
- my-network
grafana:
image: grafana/grafana
container_name: grafana
restart: always
ports:
- "3000:3000"
volumes:
- ./data/grafana:/var/lib/grafana
networks:
- my-network
prometheus:
image: prom/prometheus
container_name: prometheus
hostname: prometheus
restart: always
volumes:
- ./config-repo/prometheus.yml:/etc/prometheus/prometheus.yml
ports:
- "9090:9090"
networks:
- my-network
kkFileView:
image: keking/kkfileview:4.1.0
container_name: kkFileView
hostname: kkFileView
restart: always
ports:
- "8012:8012"
networks:
- my-network
networks:
my-network:
name: my-network
driver: bridge
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/zghuang/sg-exam.git
git@gitee.com:zghuang/sg-exam.git
zghuang
sg-exam
sg-exam
master

搜索帮助