fix: fix a "watch" bug due to docker limitation
This commit is contained in:
parent
3f78a39b40
commit
ac9451e5e9
9 changed files with 46 additions and 13 deletions
|
|
@ -28,7 +28,11 @@ services:
|
|||
tty: false
|
||||
privileged: true
|
||||
volumes:
|
||||
- ./log:/rpxy/log
|
||||
- ./log:/rpxy/log:rw
|
||||
- ./cache:/rpxy/cache:rw
|
||||
- ../example-certs/server.crt:/certs/server.crt:ro
|
||||
- ../example-certs/server.key:/certs/server.key:ro
|
||||
- ../config-example.toml:/etc/rpxy.toml:ro
|
||||
- ../config-example.toml:/etc/rpxy/rpxy.toml:ro
|
||||
# NOTE: To correctly enable "watch" in docker,
|
||||
# ** you should mount not a file but a dir mapped to /rpxy/config including "rpxy.toml" due to the limitation of docker **
|
||||
# e.g, - ./rpxy-config:/rpxy/config
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue