Created
May 12, 2020 09:51
-
-
Save qzm/e6832be4f18786e29bd7ecb4931cc674 to your computer and use it in GitHub Desktop.
kodexplorer
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 characters
version: '2' | |
services: | |
kodexplorer: | |
image: 'baiyuetribe/kodexplorer' | |
restart: always | |
environment: | |
- [email protected] | |
- 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 | |
- [email protected] | |
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: | |
- [email protected] | |
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: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment