Skip to content

Commit

Permalink
Change Docker-compose example
Browse files Browse the repository at this point in the history
  • Loading branch information
adi90x committed Dec 21, 2016
1 parent 106545f commit 2c9db20
Showing 1 changed file with 15 additions and 12 deletions.
27 changes: 15 additions & 12 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,18 @@
version: '2'
services:
nginx-proxy:
image: jwilder/nginx-proxy
container_name: nginx-proxy
ports:
- "80:80"
volumes:
- /var/run/docker.sock:/tmp/docker.sock:ro

whoami:
image: jwilder/whoami
Proxy:
image: adi90x/rancher-active-proxy
environment:
- VIRTUAL_HOST=whoami.local

DEFAULT_HOST: "Default Domain ex: bar.com"
DEFAULT_EMAIL: "Default Email ex: [email protected]"
stdin_open: true
volumes:
- /local/path/data/nginx/htpasswd:/etc/nginx/htpasswd
- /local/path/data/nginx/vhost.d:/etc/nginx/vhost.d
- /local/path/data/nginx/letsencrypt:/etc/letsencrypt
tty: true
ports:
- 80:80/tcp
- 443:443/tcp
labels:
io.rancher.container.pull_image: always

0 comments on commit 2c9db20

Please sign in to comment.