新增index服务 docker

This commit is contained in:
2024-10-02 22:14:23 +08:00
parent 9fd6f70630
commit f649d32c19
2 changed files with 51 additions and 0 deletions

View File

@@ -128,6 +128,22 @@ services:
- tyapi_network
restart: always
tyapi_index:
container_name: tyapi_index
build:
context: .
dockerfile: ./apps/index/Dockerfile
ports:
- "10004:10004"
environment:
- ENV=production
depends_on:
- tyapi_etcd
- tyapi_sentinel
networks:
- tyapi_network
restart: always
tyapi_mqs:
container_name: tyapi_mqs
build: