This commit is contained in:
markliu2013 2024-01-27 11:59:27 +08:00
parent 9fd30511f6
commit 4dadc3ab33
4 changed files with 14 additions and 14 deletions

View File

@ -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 \

View File

@ -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:

View File

@ -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"

View File

@ -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: