version: "2"
services:
proxy:
image: jwilder/nginx-proxy
container_name: proxy
restart: unless-stopped
labels:
com.github.jrcs.letsencrypt_nginx_proxy_companion.nginx_proxy: "true"
volumes:
- /var/run/docker.sock:/tmp/docker.sock:ro
- certs:/etc/nginx/certs:rw
- vhost.d:/etc/nginx/vhost.d
- html:/usr/share/nginx/html
- ./uploadsize.conf:/etc/nginx/conf.d/uploadsize.conf:ro
ports:
- "80:80"
- "443:443"
networks:
- "default"
- "proxy-tier"
proxy-letsencrypt:
image: jrcs/letsencrypt-nginx-proxy-companion
container_name: letsencrypt
environment:
- NGINX_PROXY_CONTAINER=proxy
- /var/run/docker.sock:/var/run/docker.sock:ro
volumes_from:
- "proxy"
depends_on:
portainer:
image: portainer/portainer
container_name: portainer
restart: always
- VIRTUAL_HOST=docker.belanyi.fr
- LETSENCRYPT_HOST=docker.belanyi.fr
- LETSENCRYPT_EMAIL=brunobelanyi@gmail.com
- ./portainer/:/data
- /var/run/docker.sock:/var/run/docker.sock
- "9000:9000"
freshrss:
image: linuxserver/freshrss
container_name: freshrss
- VIRTUAL_HOST=feed.belanyi.fr
- LETSENCRYPT_HOST=feed.belanyi.fr
- PGID=1001
- PUID=1000
- ./freshrss:/config
- "667:80"
calibre-web:
image: linuxserver/calibre-web
container_name: calibre-web
- VIRTUAL_HOST=library.belanyi.fr
- LETSENCRYPT_HOST=library.belanyi.fr
- PGID=1000
- TZ=Europe/Paris
- DOCKER_MODS=linuxserver/calibre-web:calibre
- ./calibre-web:/config
- ./library:/books
- "8083:8083"
certs:
vhost.d:
html:
proxy-tier: