mirror of
https://github.com/ggogel/seafile-containerized.git
synced 2024-11-16 09:01:38 +00:00
Update README.md
This commit is contained in:
parent
45ac3b5a63
commit
15a2b4b6e5
32
README.md
32
README.md
|
@ -112,7 +112,7 @@ Networks:
|
||||||
```
|
```
|
||||||
- HTTPS=false
|
- HTTPS=false
|
||||||
```
|
```
|
||||||
|
|
||||||
### *db*
|
### *db*
|
||||||
Password of the mariadb root user. Must match DB_ROOT_PASSWD.
|
Password of the mariadb root user. Must match DB_ROOT_PASSWD.
|
||||||
```
|
```
|
||||||
|
@ -175,26 +175,26 @@ Networks:
|
||||||
Example for [jwilder/nginx-proxy](https://github.com/nginx-proxy/nginx-proxy)
|
Example for [jwilder/nginx-proxy](https://github.com/nginx-proxy/nginx-proxy)
|
||||||
```
|
```
|
||||||
seafile-caddy:
|
seafile-caddy:
|
||||||
image: ggogel/seafile-caddy:0.1
|
image: ggogel/seafile-caddy:0.1
|
||||||
ports:
|
ports:
|
||||||
80:80
|
80:80
|
||||||
networks:
|
networks:
|
||||||
- seafile-net
|
- seafile-net
|
||||||
environment:
|
environment:
|
||||||
- VIRTUAL_HOST=seafile.mydomain.com
|
- VIRTUAL_HOST=seafile.mydomain.com
|
||||||
```
|
```
|
||||||
|
|
||||||
Example for [lucaslorentz/caddy-docker-proxy](https://manual.seafile.com/docker/deploy%20seafile%20with%20docker/) on Docker Swarm
|
Example for [lucaslorentz/caddy-docker-proxy](https://manual.seafile.com/docker/deploy%20seafile%20with%20docker/) on Docker Swarm
|
||||||
```
|
```
|
||||||
seafile-caddy:
|
seafile-caddy:
|
||||||
image: ggogel/seafile-caddy:0.1
|
image: ggogel/seafile-caddy:0.1
|
||||||
networks:
|
networks:
|
||||||
- seafile-net
|
- seafile-net
|
||||||
- caddy
|
- caddy
|
||||||
deploy:
|
deploy:
|
||||||
labels:
|
labels:
|
||||||
caddy: seafile.mydomain.com #this will automatically enable https and Let's Encrypt
|
caddy: seafile.mydomain.com #this will automatically enable https and Let's Encrypt
|
||||||
caddy.reverse_proxy: "{{upstreams 80}}"
|
caddy.reverse_proxy: "{{upstreams 80}}"
|
||||||
```
|
```
|
||||||
Note that you don't need the ports definition any longer with this reverse proxy, because it connects to the service through its own network.
|
Note that you don't need the ports definition any longer with this reverse proxy, because it connects to the service through its own network.
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue