This commit is contained in:
markliu2013 2024-01-10 22:29:17 +08:00
parent 9ccfe4d0d2
commit 3aba259482
6 changed files with 28 additions and 16 deletions

View File

@ -6,6 +6,8 @@ services:
extra_hosts:
- "host.docker.internal:host-gateway"
env_file: api-no-mysql.env
ports:
- "43742:80"
moneywhere-fe-user:
links:
@ -14,7 +16,7 @@ services:
environment:
USER_API_HOST: http://moneywhere-api-user:9092
ports:
- "9097:80"
- "43743:9092"
moneywhere-fe-user-mobile:
links:
@ -23,4 +25,4 @@ services:
environment:
USER_API_HOST: http://moneywhere-api-user:9092
ports:
- "9098:80"
- "43744:80"

View File

@ -24,13 +24,15 @@ services:
PMA_ARBITRARY: 1
restart: always
ports:
- "8085:80"
- "43741:80"
moneywhere-api-user:
links:
- mysql
image: registry.cn-hangzhou.aliyuncs.com/moneywhere/moneywhere-api-user:latest
env_file: api.env
ports:
- "43742:9092"
moneywhere-fe-user:
links:
@ -39,7 +41,7 @@ services:
environment:
USER_API_HOST: http://moneywhere-api-user:9092
ports:
- "9097:80"
- "43743:80"
moneywhere-fe-user-mobile:
links:
@ -48,7 +50,7 @@ services:
environment:
USER_API_HOST: http://moneywhere-api-user:9092
ports:
- "9098:80"
- "43744:80"
volumes:
moneywhere_mysql_data:

View File

@ -6,6 +6,8 @@ services:
extra_hosts:
- "host.docker.internal:host-gateway"
env_file: api-no-mysql.env
ports:
- "43742:9092"
moneywhere-fe-user:
links:
@ -14,7 +16,7 @@ services:
environment:
USER_API_HOST: http://moneywhere-api-user:9092
ports:
- "9097:80"
- "43743:80"
moneywhere-fe-user-mobile:
links:
@ -23,4 +25,4 @@ services:
environment:
USER_API_HOST: http://moneywhere-api-user:9092
ports:
- "9098:80"
- "43744:80"

View File

@ -24,13 +24,15 @@ services:
PMA_ARBITRARY: 1
restart: always
ports:
- "8085:80"
- "43741:80"
moneywhere-api-user:
links:
- mysql
image: markliu2018/moneywhere-api-user:latest
env_file: api.env
ports:
- "43742:9092"
moneywhere-fe-user:
links:
@ -39,7 +41,7 @@ services:
environment:
USER_API_HOST: http://moneywhere-api-user:9092
ports:
- "9097:80"
- "43743:80"
moneywhere-fe-user-mobile:
links:
@ -48,7 +50,7 @@ services:
environment:
USER_API_HOST: http://moneywhere-api-user:9092
ports:
- "9098:80"
- "43744:80"
volumes:
moneywhere_mysql_data:

View File

@ -1,4 +1,4 @@
version: '2.1'
version: '3'
services:
moneywhere-api-user:
@ -6,6 +6,8 @@ services:
extra_hosts:
- "host.docker.internal:host-gateway"
env_file: api-no-mysql.env
ports:
- "43742:9092"
moneywhere-fe-user:
links:
@ -14,7 +16,7 @@ services:
environment:
USER_API_HOST: http://moneywhere-api-user:9092
ports:
- "9097:80"
- "43743:80"
moneywhere-fe-user-mobile:
links:
@ -23,4 +25,4 @@ services:
environment:
USER_API_HOST: http://moneywhere-api-user:9092
ports:
- "9098:80"
- "43744:80"

View File

@ -24,13 +24,15 @@ services:
PMA_ARBITRARY: 1
restart: always
ports:
- "8085:80"
- "43741:80"
moneywhere-api-user:
links:
- mysql
image: registry.cn-hangzhou.aliyuncs.com/moneywhere/moneywhere-api-user:latest
env_file: api.env
ports:
- "43742:9092"
moneywhere-fe-user:
links:
@ -39,7 +41,7 @@ services:
environment:
USER_API_HOST: http://moneywhere-api-user:9092
ports:
- "9097:80"
- "43743:80"
moneywhere-fe-user-mobile:
links:
@ -48,7 +50,7 @@ services:
environment:
USER_API_HOST: http://moneywhere-api-user:9092
ports:
- "9098:80"
- "43744:80"
volumes:
moneywhere_mysql_data: