From cf1c00cf995198e0beef002be002e5e03b64be5c Mon Sep 17 00:00:00 2001 From: Joey Hafner Date: Thu, 23 Jun 2022 22:00:44 -0700 Subject: [PATCH] Add example docker-compose for web app --- server/README.md | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/server/README.md b/server/README.md index a5fafdb..f549013 100644 --- a/server/README.md +++ b/server/README.md @@ -27,4 +27,26 @@ For files greater than 2 GB, use one of the following: //joey-nas/backups /mnt/nas/backups cifs user=user,pass=resu,uid=1000,gid=1000,_netdev,vers=3.0 0 0 /dev/md0 /mnt/md0 ext4 defaults,nofail,discard 0 0 +``` + +## Example docker-compose.yml for Web app +``` +version: "3" +services: + : + container_name: + image: + restart: unless-stopped + volumes: + environment: + networks: + - web + labels: + - traefik.http.routers..rule=Host(`.jafner.net`) + - traefik.http.routers..tls.certresolver=lets-encrypt + # - traefik.http.routers..middlewares=lan-only@file # optional lan-only testing + +networks: + web: + external: true ``` \ No newline at end of file