fix: fix a "watch" bug due to docker limitation

This commit is contained in:
Jun Kurihara 2023-09-10 00:32:00 +09:00
commit ac9451e5e9
No known key found for this signature in database
GPG key ID: 48ADFD173ED22B03
9 changed files with 46 additions and 13 deletions

View file

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