1 Star 18 Fork 17

niufw_qb/farvision-aps

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
docker-compose.yml 1.25 KB
一键复制 编辑 原始数据 按行查看 历史
version: '3'
services:
postgresql:
image: postgres:14.1
container_name: postgresql
ports:
- 5432:5432
volumes:
- postgresql-data:/var/lib/postgresql/data:rw
- ./mes.sql:/docker-entrypoint-initdb.d/mes.sql:rw
environment:
# POSTGRES_DB: mes
POSTGRES_PASSWORD: postgres
POSTGRES_USER: postgres
restart: always
redis:
image: redis:6.2.1
container_name: redis
ports:
- 6379:6379
volumes:
- redis_data:/data
restart: always
backend:
# image: farvision/mes-web:latest
image: registry.cn-hangzhou.aliyuncs.com/farvision_anban/mes-web:0.0.1-SNAPSHOT
container_name: aps-backend
ports:
- 8081:8081
depends_on:
- redis
- postgresql
restart: always
frontend:
image: nginx
#command:
# - /bin/sh
# - -c
# - |
# copy ./default2.conf /etc/nginx/conf.d/
container_name: aps-frontend
ports:
- 83:83
- 443:443
volumes:
#- nginx-data:/etc/nginx/:rw
- ./conf/default.conf:/etc/nginx/conf.d/default.conf
- ./dist:/usr/share/nginx/html
#privileged: true
depends_on:
- backend
restart: always
volumes:
postgresql-data:
redis_data:
#nginx-data:
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/niufw/farvision-aps.git
git@gitee.com:niufw/farvision-aps.git
niufw
farvision-aps
farvision-aps
master

搜索帮助