1、修复gateway图片上传临时目录权限问题。2、修复docker etcd生产环境连接问题

This commit is contained in:
2024-10-02 13:50:26 +08:00
parent a8e6836731
commit e5ba001080
4 changed files with 10 additions and 115 deletions

View File

@@ -75,119 +75,6 @@ services:
- tyapi_network
restart: always
tyapi_gateway:
container_name: tyapi_gateway
build:
context: .
dockerfile: ./apps/gateway/Dockerfile
ports:
- "10001:10001"
environment:
- ENV=production
depends_on:
- tyapi_etcd
- tyapi_redis
- tyapi_mysql
- tyapi_user
- tyapi_sentinel
networks:
- tyapi_network
restart: always
tyapi_admin:
container_name: tyapi_admin
build:
context: .
dockerfile: ./apps/admin/Dockerfile
ports:
- "10002:10002"
environment:
- ENV=production
depends_on:
- tyapi_etcd
- tyapi_redis
- tyapi_mysql
- tyapi_user
- tyapi_sentinel
networks:
- tyapi_network
restart: always
tyapi_api:
container_name: tyapi_api
build:
context: .
dockerfile: ./apps/api/Dockerfile
ports:
- "10003:10003"
environment:
- ENV=production
depends_on:
- tyapi_etcd
- tyapi_redis
- tyapi_mysql
- tyapi_user
- tyapi_sentinel
- tyapi_mqs
- tyapi_kafka
networks:
- tyapi_network
restart: always
tyapi_mqs:
container_name: tyapi_mqs
build:
context: .
dockerfile: ./apps/mqs/Dockerfile
environment:
- ENV=production
ports:
- "12001:12001"
depends_on:
- tyapi_kafka
- tyapi_etcd
- tyapi_redis
- tyapi_user
- tyapi_sentinel
networks:
- tyapi_network
restart: always
tyapi_sentinel:
container_name: tyapi_sentinel
build:
context: .
dockerfile: ./apps/sentinel/Dockerfile
environment:
- ENV=production
depends_on:
- tyapi_redis
- tyapi_mysql
- tyapi_etcd
ports:
- "11002:11002"
networks:
- tyapi_network
restart: always
tyapi_user:
container_name: tyapi_user
build:
context: .
dockerfile: ./apps/user/Dockerfile
environment:
- ENV=production
ports:
- "11001:11001"
depends_on:
- tyapi_mysql
- tyapi_redis
- tyapi_etcd
- tyapi_sentinel
networks:
- tyapi_network
restart: always
volumes:
mysql_data:
driver: local