From 915f3a2d808f06999e0df0315cb23fdfd8485643 Mon Sep 17 00:00:00 2001 From: Andre Meyering Date: Wed, 9 Jun 2021 10:50:17 +0200 Subject: [PATCH] [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. --- README.md | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 54aa6aa..9639a58 100644 --- a/README.md +++ b/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 ```