-
Notifications
You must be signed in to change notification settings - Fork 23
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
34 lines (29 loc) · 783 Bytes
/
docker-compose.yml
File metadata and controls
34 lines (29 loc) · 783 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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"