Unified volume mount paths

This commit is contained in:
Simonmicro 2021-03-25 15:58:09 +01:00 committed by GitHub
parent a3b0c85b5b
commit e780854139
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -55,7 +55,7 @@ services:
restart: always restart: always
volumes: volumes:
- /etc/localtime:/etc/localtime:ro - /etc/localtime:/etc/localtime:ro
- ./:/var/log:rw - ./logs:/var/log:rw
``` ```
#### Parameters #### Parameters
@ -72,7 +72,7 @@ docker run -it -d --name py3-kms \
-e LOGSIZE=2 \ -e LOGSIZE=2 \
-e LOGFILE=/var/log/pykms_logserver.log \ -e LOGFILE=/var/log/pykms_logserver.log \
-v /etc/localtime:/etc/localtime:ro \ -v /etc/localtime:/etc/localtime:ro \
-v /var/log:/var/log:rw \ -v ./logs:/var/log:rw \
--restart unless-stopped pykmsorg/py-kms:[TAG] --restart unless-stopped pykmsorg/py-kms:[TAG]
``` ```
You can omit the `-e SQLITE=...` and `-p 8080:8080` option if you plan to use the `minimal` or `latest` image, which does not include the respective module support. You can omit the `-e SQLITE=...` and `-p 8080:8080` option if you plan to use the `minimal` or `latest` image, which does not include the respective module support.