Skip to content

Commit

Permalink
fix examlpe with docker_image
Browse files Browse the repository at this point in the history
If `docker.enable` not be `true`, the worker will ignore docker provider's config, and just exec the command.
so we need to doc it.
  • Loading branch information
hxsf authored Jun 30, 2020
1 parent 3809df6 commit e3c8cde
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/zh_CN/workers.conf
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ mirror_dir = "/srv/tunasync"
concurrent = 10
interval = 1

# ensure the exec user be add into `docker` group
[docker]
# in `command provider` can use docker_image and docker_volumes
enable = true

[manager]
api_base = "http://localhost:12345"
token = "some_token"
Expand Down

0 comments on commit e3c8cde

Please sign in to comment.