mirror of
https://gitee.com/markliu2013/docker-compose-moneynote.git
synced 2024-11-17 20:58:02 +08:00
feature
This commit is contained in:
parent
e9f937ff61
commit
bb6da501eb
52
docker-compose-ali.yml
Normal file
52
docker-compose-ali.yml
Normal file
@ -0,0 +1,52 @@
|
||||
version: '3'
|
||||
|
||||
services:
|
||||
mysql:
|
||||
build: ./mysql/
|
||||
command: --init-file /data/1.sql
|
||||
restart: always
|
||||
environment:
|
||||
MYSQL_ROOT_PASSWORD: NWPkVrO2
|
||||
MYSQL_DATABASE: moneywhere
|
||||
volumes:
|
||||
- moneywhere_mysql_data:/var/lib/mysql
|
||||
|
||||
phpmyadmin:
|
||||
image: phpmyadmin/phpmyadmin
|
||||
links:
|
||||
- mysql
|
||||
environment:
|
||||
PMA_HOST: mysql
|
||||
PMA_PORT: 3306
|
||||
PMA_ARBITRARY: 1
|
||||
restart: always
|
||||
ports:
|
||||
- "8085:80"
|
||||
|
||||
moneywhere-api-user:
|
||||
depends_on:
|
||||
- mysql
|
||||
image: registry.cn-hangzhou.aliyuncs.com/moneywhere/moneywhere-api-user:latest
|
||||
env_file: api.env
|
||||
|
||||
moneywhere-fe-user:
|
||||
links:
|
||||
- moneywhere-api-user
|
||||
image: registry.cn-hangzhou.aliyuncs.com/moneywhere/moneywhere-fe-user:latest
|
||||
environment:
|
||||
USER_API_HOST: http://moneywhere-api-user:9092
|
||||
API_HOST: https://api.moneywhere.com/api/v1/user-api
|
||||
ports:
|
||||
- "9097:80"
|
||||
|
||||
moneywhere-fe-user-mobile:
|
||||
links:
|
||||
- moneywhere-api-user
|
||||
image: registry.cn-hangzhou.aliyuncs.com/moneywhere/moneywhere-fe-user-mobile:latest
|
||||
environment:
|
||||
USER_API_HOST: http://moneywhere-api-user:9092
|
||||
ports:
|
||||
- "9098:80"
|
||||
|
||||
volumes:
|
||||
moneywhere_mysql_data:
|
52
docker-compose-hub.yml
Normal file
52
docker-compose-hub.yml
Normal file
@ -0,0 +1,52 @@
|
||||
version: '3'
|
||||
|
||||
services:
|
||||
mysql:
|
||||
build: ./mysql/
|
||||
command: --init-file /data/1.sql
|
||||
restart: always
|
||||
environment:
|
||||
MYSQL_ROOT_PASSWORD: NWPkVrO2
|
||||
MYSQL_DATABASE: moneywhere
|
||||
volumes:
|
||||
- moneywhere_mysql_data:/var/lib/mysql
|
||||
|
||||
phpmyadmin:
|
||||
image: phpmyadmin/phpmyadmin
|
||||
links:
|
||||
- mysql
|
||||
environment:
|
||||
PMA_HOST: mysql
|
||||
PMA_PORT: 3306
|
||||
PMA_ARBITRARY: 1
|
||||
restart: always
|
||||
ports:
|
||||
- "8085:80"
|
||||
|
||||
moneywhere-api-user:
|
||||
depends_on:
|
||||
- mysql
|
||||
image: markliu2018/moneywhere-api-user:latest
|
||||
env_file: api.env
|
||||
|
||||
moneywhere-fe-user:
|
||||
links:
|
||||
- moneywhere-api-user
|
||||
image: markliu2018/moneywhere-fe-user:latest
|
||||
environment:
|
||||
USER_API_HOST: http://moneywhere-api-user:9092
|
||||
API_HOST: https://api.moneywhere.com/api/v1/user-api
|
||||
ports:
|
||||
- "9097:80"
|
||||
|
||||
moneywhere-fe-user-mobile:
|
||||
links:
|
||||
- moneywhere-api-user
|
||||
image: markliu2018/moneywhere-fe-user-mobile:latest
|
||||
environment:
|
||||
USER_API_HOST: http://moneywhere-api-user:9092
|
||||
ports:
|
||||
- "9098:80"
|
||||
|
||||
volumes:
|
||||
moneywhere_mysql_data:
|
Loading…
Reference in New Issue
Block a user