mirror of
https://gitee.com/markliu2013/docker-compose-moneynote.git
synced 2024-11-17 20:58:02 +08:00
save
This commit is contained in:
parent
9fd30511f6
commit
4dadc3ab33
@ -14,7 +14,7 @@
|
||||
|
||||
阿里云镜像启动(适合中国大陆)
|
||||
```sh
|
||||
docker run -d \
|
||||
docker run --name moneywhere -d \
|
||||
-e DB_PASSWORD=78p7gkc1 \
|
||||
-e invite_code=111111 \
|
||||
-v moneywhere_mysql_data:/var/lib/mysql \
|
||||
@ -27,7 +27,7 @@ docker run -d \
|
||||
```
|
||||
docker hub镜像启动(适合境外用户)
|
||||
```sh
|
||||
docker run -d \
|
||||
docker run --name moneywhere -d \
|
||||
-e DB_PASSWORD=78p7gkc1 \
|
||||
-e invite_code=111111 \
|
||||
-v moneywhere_mysql_data:/var/lib/mysql \
|
||||
@ -44,7 +44,7 @@ docker run -d \
|
||||
阿里云镜像启动(适合中国大陆,此镜像无mysql服务,请将参数修改为自己的mysql服务。)
|
||||
|
||||
```sh
|
||||
docker run -d \
|
||||
docker run --name moneywhere -d \
|
||||
-e DB_HOST=host.docker.internal \
|
||||
-e DB_PORT=3306 \
|
||||
-e DB_NAME=moneywhere \
|
||||
@ -59,7 +59,7 @@ docker run -d \
|
||||
|
||||
docker hub镜像启动(适合境外用户,此镜像无mysql服务,请将参数修改为自己的mysql服务。)
|
||||
```sh
|
||||
docker run -d \
|
||||
docker run --name moneywhere -d \
|
||||
-e DB_HOST=host.docker.internal \
|
||||
-e DB_PORT=3306 \
|
||||
-e DB_NAME=moneywhere \
|
||||
|
@ -6,8 +6,8 @@ services:
|
||||
image: markliu2018/moneywhere-all:latest
|
||||
restart: always
|
||||
environment:
|
||||
- DB_PASSWORD=78p7gkc1
|
||||
- invite_code=111111
|
||||
- DB_PASSWORD=${DB_PASSWORD:-78p7gkc1}
|
||||
- invite_code=${invite_code:-111111}
|
||||
volumes:
|
||||
- moneywhere_mysql_data:/var/lib/mysql
|
||||
ports:
|
||||
|
@ -6,12 +6,12 @@ services:
|
||||
image: registry.cn-hangzhou.aliyuncs.com/moneywhere/moneywhere-all-no-mysql:latest
|
||||
restart: always
|
||||
environment:
|
||||
- DB_HOST=host.docker.internal
|
||||
- DB_PORT=3306
|
||||
- DB_NAME=moneywhere
|
||||
- DB_USER=root
|
||||
- DB_PASSWORD=111111
|
||||
- invite_code=111111
|
||||
- DB_HOST=${DB_HOST}
|
||||
- DB_PORT=${DB_PORT}
|
||||
- DB_NAME=${DB_NAME}
|
||||
- DB_USER=${DB_USER}
|
||||
- DB_PASSWORD=${DB_PASSWORD}
|
||||
- invite_code=${invite_code}
|
||||
ports:
|
||||
- "43742:9092"
|
||||
- "43743:81"
|
||||
|
@ -6,8 +6,8 @@ services:
|
||||
image: markliu2018/moneywhere-all:latest
|
||||
restart: always
|
||||
environment:
|
||||
- DB_PASSWORD=78p7gkc1
|
||||
- invite_code=111111
|
||||
- DB_PASSWORD=${DB_PASSWORD:-78p7gkc1}
|
||||
- invite_code=${invite_code:-111111}
|
||||
volumes:
|
||||
- moneywhere_mysql_data:/var/lib/mysql
|
||||
ports:
|
||||
|
Loading…
Reference in New Issue
Block a user