Skip to content

Instantly share code, notes, and snippets.

@j67678
Last active June 17, 2016 07:56
Show Gist options
  • Save j67678/bd9819bc59b25bc582f14a712a50f68c to your computer and use it in GitHub Desktop.
Save j67678/bd9819bc59b25bc582f14a712a50f68c to your computer and use it in GitHub Desktop.
version: '2'
services:
nginx-proxy:
image: jwilder/nginx-proxy
container_name: nginx-proxy
ports:
- "80:80"
- "443:443"
volumes:
- /var/run/docker.sock:/tmp/docker.sock:ro
- /srv/nginx_ssl:/etc/nginx/certs
owncloud:
image: owncloud
container_name: owncloud
environment:
- VIRTUAL_HOST=cloud.ohrz.net
volumes:
- /srv/owncloud:/var/www/html
ghost:
image: ghost
container_name: ghost
environment:
- VIRTUAL_HOST=ghost.ohrz.net
- VIRTUAL_PORT=2368
- NODE_ENV=production
volumes:
- /srv/ghost:/var/lib/ghost
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment