From 73d51efe264b0d611cce39d8a1beb33688251644 Mon Sep 17 00:00:00 2001 From: markliu2013 Date: Fri, 19 Jan 2024 21:16:32 +0800 Subject: [PATCH] save --- docker-compose-ali-no-mysql.yml | 3 +++ docker-compose-ali.yml | 5 +++++ docker-compose-hub-no-mysql.yml | 3 +++ docker-compose-hub.yml | 5 +++++ docker-compose-no-mysql.yml | 3 +++ docker-compose.yml | 5 +++++ 6 files changed, 24 insertions(+) diff --git a/docker-compose-ali-no-mysql.yml b/docker-compose-ali-no-mysql.yml index d49a865..0c71ffa 100644 --- a/docker-compose-ali-no-mysql.yml +++ b/docker-compose-ali-no-mysql.yml @@ -2,6 +2,7 @@ version: '3' services: moneywhere-api-user: + container_name: moneywhere_api image: registry.cn-hangzhou.aliyuncs.com/moneywhere/moneywhere-api-user:latest extra_hosts: - "host.docker.internal:host-gateway" @@ -10,6 +11,7 @@ services: - "43742:80" moneywhere-fe-user: + container_name: moneywhere_fe links: - moneywhere-api-user image: registry.cn-hangzhou.aliyuncs.com/moneywhere/moneywhere-fe-user:latest @@ -19,6 +21,7 @@ services: - "43743:9092" moneywhere-fe-user-mobile: + container_name: moneywhere_fe_mobile links: - moneywhere-api-user image: registry.cn-hangzhou.aliyuncs.com/moneywhere/moneywhere-fe-user-mobile:latest diff --git a/docker-compose-ali.yml b/docker-compose-ali.yml index 87299f6..9d33be6 100644 --- a/docker-compose-ali.yml +++ b/docker-compose-ali.yml @@ -2,6 +2,7 @@ version: '3' services: mysql: + container_name: moneywhere_mysql image: registry.cn-hangzhou.aliyuncs.com/moneywhere/mysql:5.7 restart: always environment: @@ -19,6 +20,7 @@ services: - "43740:3306" phpmyadmin: + container_name: moneywhere_phpmyadmin image: registry.cn-hangzhou.aliyuncs.com/moneywhere/phpmyadmin:latest links: - mysql @@ -29,6 +31,7 @@ services: - "43741:80" moneywhere-api-user: + container_name: moneywhere_api links: - mysql image: registry.cn-hangzhou.aliyuncs.com/moneywhere/moneywhere-api-user:latest @@ -37,6 +40,7 @@ services: - "43742:9092" moneywhere-fe-user: + container_name: moneywhere_fe links: - moneywhere-api-user image: registry.cn-hangzhou.aliyuncs.com/moneywhere/moneywhere-fe-user:latest @@ -46,6 +50,7 @@ services: - "43743:80" moneywhere-fe-user-mobile: + container_name: moneywhere_fe_mobile links: - moneywhere-api-user image: registry.cn-hangzhou.aliyuncs.com/moneywhere/moneywhere-fe-user-mobile:latest diff --git a/docker-compose-hub-no-mysql.yml b/docker-compose-hub-no-mysql.yml index 65771a5..aeea636 100644 --- a/docker-compose-hub-no-mysql.yml +++ b/docker-compose-hub-no-mysql.yml @@ -2,6 +2,7 @@ version: '2.1' services: moneywhere-api-user: + container_name: moneywhere_api image: markliu2018/moneywhere-api-user:latest extra_hosts: - "host.docker.internal:host-gateway" @@ -10,6 +11,7 @@ services: - "43742:9092" moneywhere-fe-user: + container_name: moneywhere_fe links: - moneywhere-api-user image: markliu2018/moneywhere-fe-user:latest @@ -19,6 +21,7 @@ services: - "43743:80" moneywhere-fe-user-mobile: + container_name: moneywhere_fe_mobile links: - moneywhere-api-user image: markliu2018/moneywhere-fe-user-mobile:latest diff --git a/docker-compose-hub.yml b/docker-compose-hub.yml index 3bf9058..fc169f3 100644 --- a/docker-compose-hub.yml +++ b/docker-compose-hub.yml @@ -2,6 +2,7 @@ version: '3' services: mysql: + container_name: moneywhere_mysql image: mysql:5.7 restart: always environment: @@ -19,6 +20,7 @@ services: - "43740:3306" phpmyadmin: + container_name: moneywhere_phpmyadmin image: phpmyadmin/phpmyadmin links: - mysql @@ -29,6 +31,7 @@ services: - "43741:80" moneywhere-api-user: + container_name: moneywhere_api links: - mysql image: markliu2018/moneywhere-api-user:latest @@ -37,6 +40,7 @@ services: - "43742:9092" moneywhere-fe-user: + container_name: moneywhere_fe links: - moneywhere-api-user image: markliu2018/moneywhere-fe-user:latest @@ -46,6 +50,7 @@ services: - "43743:80" moneywhere-fe-user-mobile: + container_name: moneywhere_fe_mobile links: - moneywhere-api-user image: markliu2018/moneywhere-fe-user-mobile:latest diff --git a/docker-compose-no-mysql.yml b/docker-compose-no-mysql.yml index 65771a5..aeea636 100644 --- a/docker-compose-no-mysql.yml +++ b/docker-compose-no-mysql.yml @@ -2,6 +2,7 @@ version: '2.1' services: moneywhere-api-user: + container_name: moneywhere_api image: markliu2018/moneywhere-api-user:latest extra_hosts: - "host.docker.internal:host-gateway" @@ -10,6 +11,7 @@ services: - "43742:9092" moneywhere-fe-user: + container_name: moneywhere_fe links: - moneywhere-api-user image: markliu2018/moneywhere-fe-user:latest @@ -19,6 +21,7 @@ services: - "43743:80" moneywhere-fe-user-mobile: + container_name: moneywhere_fe_mobile links: - moneywhere-api-user image: markliu2018/moneywhere-fe-user-mobile:latest diff --git a/docker-compose.yml b/docker-compose.yml index 533f406..7e0c74b 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -2,6 +2,7 @@ version: '3' services: mysql: + container_name: moneywhere_mysql image: mysql:5.7 restart: always environment: @@ -19,6 +20,7 @@ services: - "43740:3306" phpmyadmin: + container_name: moneywhere_phpmyadmin image: phpmyadmin/phpmyadmin links: - mysql @@ -29,6 +31,7 @@ services: - "43741:80" moneywhere-api-user: + container_name: moneywhere_api links: - mysql image: markliu2018/moneywhere-api-user:latest @@ -37,6 +40,7 @@ services: - "43742:9092" moneywhere-fe-user: + container_name: moneywhere_fe links: - moneywhere-api-user image: markliu2018/moneywhere-fe-user:latest @@ -46,6 +50,7 @@ services: - "43743:80" moneywhere-fe-user-mobile: + container_name: moneywhere_fe_mobile links: - moneywhere-api-user image: markliu2018/moneywhere-fe-user-mobile:latest