zoujiajian 1 місяць тому
батько
коміт
1d501af59e
1 змінених файлів з 8 додано та 8 видалено
  1. 8 8
      deploy/docker-compose.local.yml

+ 8 - 8
deploy/docker-compose.local.yml

@@ -24,8 +24,8 @@ services:
   # Sub2API Application
   # ===========================================================================
   sub2api:
-    image: weishaw/sub2api:latest
-    container_name: sub2api
+    image: javazou/mysub2:latest
+    container_name: mysub2
     restart: unless-stopped
     security_opt:
       - no-new-privileges:true
@@ -209,7 +209,7 @@ services:
       redis:
         condition: service_healthy
     networks:
-      - sub2api-network
+      - mysub2-network
     healthcheck:
       test: ["CMD", "wget", "-q", "-T", "5", "-O", "/dev/null", "http://localhost:8080/health"]
       interval: 30s
@@ -222,7 +222,7 @@ services:
   # ===========================================================================
   postgres:
     image: postgres:18-alpine
-    container_name: sub2api-postgres
+    container_name: mysub2-postgres
     restart: unless-stopped
     ulimits:
       nofile:
@@ -238,7 +238,7 @@ services:
       - PGDATA=/var/lib/postgresql/data
       - TZ=${TZ:-Asia/Shanghai}
     networks:
-      - sub2api-network
+      - mysub2-network
     healthcheck:
       test: ["CMD-SHELL", "pg_isready -U ${POSTGRES_USER:-sub2api} -d ${POSTGRES_DB:-sub2api}"]
       interval: 10s
@@ -253,7 +253,7 @@ services:
   # ===========================================================================
   redis:
     image: redis:8-alpine
-    container_name: sub2api-redis
+    container_name: mysub2-redis
     restart: unless-stopped
     ulimits:
       nofile:
@@ -278,7 +278,7 @@ services:
       # REDISCLI_AUTH is used by redis-cli for authentication (safer than -a flag)
       - REDISCLI_AUTH=${REDIS_PASSWORD:-}
     networks:
-      - sub2api-network
+      - mysub2-network
     healthcheck:
       test: ["CMD", "redis-cli", "ping"]
       interval: 10s
@@ -290,5 +290,5 @@ services:
 # Networks
 # =============================================================================
 networks:
-  sub2api-network:
+  mysub2-network:
     driver: bridge