rancher-katalog/templates/Rancher Active Proxy/2/docker-compose.yml

36 lines
818 B
YAML
Raw Permalink Normal View History

2018-08-28 14:13:22 +00:00
version: '2'
services:
Rancher-Active-Proxy:
image: adi90x/rancher-active-proxy
environment:
DEFAULT_HOST: ${DEFAULT_HOST}
DEFAULT_EMAIL: ${DEFAULT_EMAIL}
CRON: ${CRON}
DEBUG: ${DEBUG}
DEFAULT_PORT: ${DEFAULT_PORT}
stdin_open: true
volumes:
- proxy-htpasswd:/etc/nginx/htpasswd
- proxy-vhost:/etc/nginx/vhost.d
- proxy-le:/etc/letsencrypt
- proxy-html:/usr/share/nginx/html
- proxy-certs:/etc/nginx/certs
tty: true
ports:
- ${DEFAULT_PORT}:80/tcp
- 443:443/tcp
labels:
io.rancher.container.pull_image: always
io.rancher.scheduler.global: 'true'
volumes:
proxy-htpasswd:
2018-08-28 14:15:41 +00:00
driver: local
2018-08-28 14:13:22 +00:00
proxy-vhost:
2018-08-28 14:15:41 +00:00
driver: local
2018-08-28 14:13:22 +00:00
proxy-le:
2018-08-28 14:15:41 +00:00
driver: local
2018-08-28 14:13:22 +00:00
proxy-html:
2018-08-28 14:15:41 +00:00
driver: local
2018-08-28 14:13:22 +00:00
proxy-certs:
2018-08-28 14:15:41 +00:00
driver: local