Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
HalcyonAzure committed Apr 21, 2023
1 parent 1eba120 commit 18305c8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
docker run -d \
--name lsky-pro \
--restart unless-stopped \
-p 9080:80 \
-v /path-to-data:/var/www/html \
-p 8089:8089 \
-v $PWD/lsky/web:/var/www/html \
-e WEB_PORT=8089 \
halcyonazure/lsky-pro-docker:latest
```
Expand Down Expand Up @@ -49,7 +49,7 @@ services:
volumes:
- /data/lsky/web:/var/www/html/
ports:
- "9080:80"
- "8089:8089"
networks:
- lsky-net

Expand Down
8 changes: 4 additions & 4 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ services:
environment:
- WEB_PORT=8089
volumes:
- /data/lsky/web:/var/www/html/
- $PWD/web:/var/www/html/
ports:
- "9080:8089"
networks:
Expand All @@ -24,9 +24,9 @@ services:
# 修改加密规则
command: --default-authentication-plugin=mysql_native_password
volumes:
- /data/lsky/mysql/data:/var/lib/mysql
- /data/lsky/mysql/conf:/etc/mysql
- /data/lsky/mysql/log:/var/log/mysql
- $PWD/mysql/data:/var/lib/mysql
- $PWD/mysql/conf:/etc/mysql
- $PWD/mysql/log:/var/log/mysql
environment:
MYSQL_ROOT_PASSWORD: lAsWjb6rzSzENUYg # 数据库root用户密码,自行修改
MYSQL_DATABASE: lsky-data # 可作为"数据库名称/路径"
Expand Down

0 comments on commit 18305c8

Please sign in to comment.