Skip to content

Commit

Permalink
fix: doc
Browse files Browse the repository at this point in the history
Signed-off-by: 117503445 <[email protected]>
  • Loading branch information
117503445 committed May 16, 2024
1 parent d45a447 commit e9cf6cb
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 5 deletions.
6 changes: 4 additions & 2 deletions docs/advance.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
docker pull registry.cn-hangzhou.aliyuncs.com/117503445-mirror/flow-pdf && docker tag registry.cn-hangzhou.aliyuncs.com/117503445-mirror/flow-pdf 117503445/flow-pdf
```

download `docker-compose.yml`
create `docker-compose.yml` in empty folder

```yaml
version: '3.9'
# docker-compose.yml
services:
flow-pdf:
image: '117503445/flow-pdf'
Expand All @@ -20,6 +20,8 @@ services:
working_dir: /root/app/flow_pdf/flow_pdf
ports:
- '8080:8080'

# not necessary, but can be used to limit resources
deploy:
resources:
limits:
Expand Down
7 changes: 5 additions & 2 deletions docs/advance.zh_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,22 @@
docker pull registry.cn-hangzhou.aliyuncs.com/117503445-mirror/flow-pdf && docker tag registry.cn-hangzhou.aliyuncs.com/117503445-mirror/flow-pdf 117503445/flow-pdf
```

下载 `docker-compose.yml`
在空文件夹创建 `docker-compose.yml`

```yaml
version: '3.9'
# docker-compose.yml
services:
flow-pdf:
image: '117503445/flow-pdf'
container_name: flow-pdf
restart: unless-stopped
volumes:
- './web-data:/root/app/flow_pdf/web-data'
working_dir: /root/app/flow_pdf/flow_pdf
ports:
- '8080:8080'

# not necessary, but can be used to limit resources
deploy:
resources:
limits:
Expand Down
3 changes: 2 additions & 1 deletion docs/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
version: '3.9'
services:
flow-pdf:
image: '117503445/flow-pdf'
Expand All @@ -9,6 +8,8 @@ services:
working_dir: /root/app/flow_pdf/flow_pdf
ports:
- '8080:8080'

# not necessary, but can be used to limit resources
deploy:
resources:
limits:
Expand Down

0 comments on commit e9cf6cb

Please sign in to comment.