Created
May 12, 2020 09:51
-
-
Save qzm/e6832be4f18786e29bd7ecb4931cc674 to your computer and use it in GitHub Desktop.
Revisions
-
qzm created this gist
May 12, 2020 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,58 @@ version: '2' services: kodexplorer: image: 'baiyuetribe/kodexplorer' restart: always environment: - DEFAULT_EMAIL=mail@example.com - VIRTUAL_HOST=cloud.domain.com - VIRTUAL_PORT=80 - SERVER_PROXY_NAME=cloud.domain.com - SERVER_PROXY_PORT=443 - SERVER_SCHEME=https - LETSENCRYPT_HOST=cloud.domain.com - LETSENCRYPT_EMAIL=mail@example.com volumes: - /mnt/kodexplorer/data/Group:/var/www/html/data/Group - /mnt/kodexplorer/data/User:/var/www/html/data/User watchtower: image: v2tec/watchtower volumes: - /var/run/docker.sock:/var/run/docker.sock command: --schedule "0 4 * * *" nginx-proxy: image: jwilder/nginx-proxy container_name: nginx-proxy restart: always ports: - "80:80" - "443:443" volumes: - conf:/etc/nginx/conf.d - vhost:/etc/nginx/vhost.d - html:/usr/share/nginx/html - dhparam:/etc/nginx/dhparam - certs:/etc/nginx/certs:ro - /var/run/docker.sock:/tmp/docker.sock:ro letsencrypt: image: jrcs/letsencrypt-nginx-proxy-companion container_name: nginx-proxy-le restart: always environment: - DEFAULT_EMAIL=mail@example.com volumes_from: - nginx-proxy volumes: - certs:/etc/nginx/certs:rw - /var/run/docker.sock:/var/run/docker.sock:ro volumes: conf: vhost: html: dhparam: certs: