Permalink
Switch branches/tags
Nothing to show
Find file Copy path
0469c92 May 25, 2017
Dmitry M Initial commit.
0 contributors

Users who have contributed to this file

34 lines (29 sloc) 783 Bytes
version: '2'
services:
wordpress:
image: wordpress:4.7-apache
environment:
WORDPRESS_DB_PASSWORD: somepassword
VIRTUAL_HOST: exampledomain.com
LETSENCRYPT_HOST: exampledomain.com
LETSENCRYPT_EMAIL: admin@exampledomain.com
mysql:
image: mariadb
environment:
MYSQL_ROOT_PASSWORD: somepassword
nginx-proxy:
image: jwilder/nginx-proxy
ports:
- "80:80"
- "443:443"
volumes:
- "/etc/nginx/vhost.d"
- "/usr/share/nginx/html"
- "/var/run/docker.sock:/tmp/docker.sock:ro"
- "/etc/nginx/certs"
letsencrypt-nginx-proxy-companion:
image: jrcs/letsencrypt-nginx-proxy-companion
volumes:
- "/var/run/docker.sock:/var/run/docker.sock:ro"
volumes_from:
- "nginx-proxy"