From d04175ee7c81f584f992c60a23f62f57d4590e66 Mon Sep 17 00:00:00 2001 From: xiabin Date: Tue, 11 Feb 2025 14:51:08 +0800 Subject: [PATCH] 1 --- .gitea/workflows/demo.yaml | 2 +- docker-compose.yaml | 39 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 40 insertions(+), 1 deletion(-) create mode 100644 docker-compose.yaml diff --git a/.gitea/workflows/demo.yaml b/.gitea/workflows/demo.yaml index 383edbd..6af1424 100644 --- a/.gitea/workflows/demo.yaml +++ b/.gitea/workflows/demo.yaml @@ -44,4 +44,4 @@ jobs: docker-compose down --remove-orphans docker-compose up -d --build env: - COMPOSE_PROJECT_NAME: myapp_ci \ No newline at end of file + COMPOSE_PROJECT_NAME: youtu_grpc \ No newline at end of file diff --git a/docker-compose.yaml b/docker-compose.yaml new file mode 100644 index 0000000..27a082d --- /dev/null +++ b/docker-compose.yaml @@ -0,0 +1,39 @@ +version: "3" +services: + user: + image: user_manager + container_name: user + environment: + TZ: Asia/Shanghai + restart: always + network_mode: host + + auth: + image: auth_service + container_name: auth + depends_on: + - user + environment: + TZ: Asia/Shanghai + restart: always + network_mode: host + + douyin_ecpm_calculation: + image: douyin_ecpm_calculation_service + container_name: douyin_ecpm_calculation + depends_on: + - auth + environment: + TZ: Asia/Shanghai + restart: always + network_mode: host + + ranking: + image: ranking_management + container_name: ranking + depends_on: + - auth + environment: + TZ: Asia/Shanghai + restart: always + network_mode: host \ No newline at end of file