mirror of
https://github.com/ggogel/seafile-containerized.git
synced 2024-11-16 17:05:32 +00:00
Update README.
This commit is contained in:
parent
10b045f50b
commit
569c24cea5
15
README.md
15
README.md
|
@ -76,14 +76,25 @@ If the environment variable "SUPERVISED" is set to true, the container won't be
|
||||||
|
|
||||||
### Container Configuration
|
### Container Configuration
|
||||||
|
|
||||||
The beginning of the container definition can contain the following "special" sections:
|
|
||||||
|
|
||||||
#### port mapping:
|
#### port mapping:
|
||||||
|
|
||||||
```conf
|
```conf
|
||||||
server.port_mappings = 80:80,443:443
|
server.port_mappings = 80:80,443:443
|
||||||
```
|
```
|
||||||
|
|
||||||
|
#### Let's encrypt SSL certificate
|
||||||
|
|
||||||
|
If you set `server.letsencrypt` to `true`, the bootstrap script would request a letsencrypt-signed SSL certificate for you.
|
||||||
|
|
||||||
|
```conf
|
||||||
|
server.letsencrypt = true
|
||||||
|
server.port_mappings = 80:80,443:443
|
||||||
|
```
|
||||||
|
|
||||||
|
If you want to use your own SSL certificate:
|
||||||
|
- create a folder 'shared/ssl', and put your certificate and private key under the ssl directory.
|
||||||
|
- Your certificate must have the name "seafile.example.com.crt", and the private key must have the name "seafile.example.com.key".
|
||||||
|
|
||||||
### Troubleshooting
|
### Troubleshooting
|
||||||
|
|
||||||
View the container logs: `./launcher logs`
|
View the container logs: `./launcher logs`
|
||||||
|
|
Loading…
Reference in a new issue