122 lines
2.7 KiB
YAML
122 lines
2.7 KiB
YAML
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
|
|
restart: unless-stopped
|
|
environment:
|
|
- NGINX_PROXY_CONTAINER=proxy
|
|
volumes:
|
|
- /var/run/docker.sock:/var/run/docker.sock:ro
|
|
volumes_from:
|
|
- "proxy"
|
|
depends_on:
|
|
- "proxy"
|
|
networks:
|
|
- "default"
|
|
- "proxy-tier"
|
|
|
|
portainer:
|
|
image: portainer/portainer
|
|
container_name: portainer
|
|
restart: always
|
|
environment:
|
|
- VIRTUAL_HOST=docker.belanyi.fr
|
|
- LETSENCRYPT_HOST=docker.belanyi.fr
|
|
- LETSENCRYPT_EMAIL=brunobelanyi@gmail.com
|
|
volumes:
|
|
- ./portainer/:/data
|
|
- /var/run/docker.sock:/var/run/docker.sock
|
|
ports:
|
|
- "9000:9000"
|
|
|
|
freshrss:
|
|
image: linuxserver/freshrss
|
|
container_name: freshrss
|
|
restart: unless-stopped
|
|
environment:
|
|
- VIRTUAL_HOST=feed.belanyi.fr
|
|
- LETSENCRYPT_HOST=feed.belanyi.fr
|
|
- LETSENCRYPT_EMAIL=brunobelanyi@gmail.com
|
|
- PGID=1001
|
|
- PUID=1000
|
|
volumes:
|
|
- ./freshrss:/config
|
|
ports:
|
|
- "667:80"
|
|
networks:
|
|
- "proxy-tier"
|
|
- "default"
|
|
|
|
calibre:
|
|
image: linuxserver/calibre
|
|
container_name: calibre
|
|
restart: unless-stopped
|
|
environment:
|
|
- VIRTUAL_HOST=calibre.belanyi.fr
|
|
- LETSENCRYPT_HOST=calibre.belanyi.fr
|
|
- LETSENCRYPT_EMAIL=brunobelanyi@gmail.com
|
|
- PUID=1000
|
|
- PGID=1000
|
|
- TZ=Europe/Paris
|
|
- GUAC_USER=ambroisie # optional
|
|
- GUAC_PASS=08e9e53c92fed51371f94c88bd240c02 # password
|
|
volumes:
|
|
- ./library:/config
|
|
ports:
|
|
- "8080:8080"
|
|
#- "8081:8081"
|
|
networks:
|
|
- "default"
|
|
- "proxy-tier"
|
|
|
|
calibre-web:
|
|
image: linuxserver/calibre-web
|
|
container_name: calibre-web
|
|
restart: unless-stopped
|
|
environment:
|
|
- VIRTUAL_HOST=library.belanyi.fr
|
|
- LETSENCRYPT_HOST=library.belanyi.fr
|
|
- LETSENCRYPT_EMAIL=brunobelanyi@gmail.com
|
|
- PUID=1000
|
|
- PGID=1000
|
|
- TZ=Europe/Paris
|
|
- DOCKER_MODS=linuxserver/calibre-web:calibre
|
|
volumes:
|
|
- ./calibre-web:/config
|
|
- ./library:/books
|
|
ports:
|
|
- "8083:8083"
|
|
networks:
|
|
- "default"
|
|
- "proxy-tier"
|
|
|
|
volumes:
|
|
certs:
|
|
vhost.d:
|
|
html:
|
|
|
|
networks:
|
|
proxy-tier:
|