v2fly / v2ray-step-by-step

This repo is a fork of ToutyRater/v2ray-guide, we aim to provide a new step-by-step guide of v2ray
https://guide.v2fly.org
Creative Commons Attribution 4.0 International
765 stars 433 forks source link

fix: update docker deployment guide; replace URLs to old docs with URLs to new docs #277

Closed tess-lu closed 1 year ago

tess-lu commented 2 years ago
  1. update docker deployment guide:

    • added environment variable TZ in the docker command to print the correct time in logs
    • added option --restart always to automatically restart container upon exit
    • fixed format
  2. replace URLs to old docs with URLs to new docs

kslr commented 1 year ago

--restart is not necessary, the user should intervene when an error occurs, not a futile automatic restart

tess-lu commented 1 year ago

From the UX perspective, specifying a restart policy is better than none. The container could be down for various reasons, including a server restart or a docker service restart, etc. In such scenarios the restart policy could save the user some effort.