mirror of
https://github.com/ggogel/seafile-containerized.git
synced 2024-11-16 09:01:38 +00:00
[README] Update example for jwilder/nginx-proxy
Using `jwilder/nginx-proxy` with this setup works, but required me change the `caddy` service a bit. This commit updates the example. Furthermore, I had renamed some services which did not work. It took a while until I found out that service names, were hard-coded.
This commit is contained in:
parent
367cfcfd85
commit
915f3a2d80
11
README.md
11
README.md
|
@ -84,6 +84,9 @@ Networks:
|
|||
```
|
||||
wget https://raw.githubusercontent.com/ggogel/seafile-containerized/master/compose/docker-compose.yml
|
||||
```
|
||||
|
||||
_Note:_ We expect certain services names. Do not rename services except `db`.
|
||||
|
||||
#### Docker Swarm
|
||||
|
||||
If you run a single node swarm and don't want to run multiple replicas, you can use the same compose file. Otherwise refer to [Additional Information / Docker Swarm](#Docker-Swarm-1).
|
||||
|
@ -201,12 +204,14 @@ Networks:
|
|||
Example for [jwilder/nginx-proxy](https://github.com/nginx-proxy/nginx-proxy)
|
||||
```
|
||||
seafile-caddy:
|
||||
image: ggogel/seafile-caddy:0.1
|
||||
ports:
|
||||
80:80
|
||||
image: ggogel/seafile-caddy:1.0.4
|
||||
expose:
|
||||
- "80"
|
||||
networks:
|
||||
- seafile-net
|
||||
- default
|
||||
environment:
|
||||
- VIRTUAL_PORT=80
|
||||
- VIRTUAL_HOST=seafile.mydomain.com
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in a new issue