forked from pablokbs/peladonerd
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
73 lines (66 loc) · 1.74 KB
/
docker-compose.yaml
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
version: '3.7'
services:
nginx-proxy:
image: jwilder/nginx-proxy:0.6.0
restart: always
ports:
- "80:80"
- "443:443"
volumes:
- /var/run/docker.sock:/tmp/docker.sock:ro
- certs:/etc/nginx/certs:ro
- confd:/etc/nginx/conf.d
- vhostd:/etc/nginx/vhost.d
- html:/usr/share/nginx/html
labels:
- com.github.jrcs.letsencrypt_nginx_proxy_companion.nginx_proxy
letsencrypt:
image: jrcs/letsencrypt-nginx-proxy-companion:v1.12
restart: always
volumes:
- certs:/etc/nginx/certs:rw
- confd:/etc/nginx/conf.d
- vhostd:/etc/nginx/vhost.d
- html:/usr/share/nginx/html
- /var/run/docker.sock:/var/run/docker.sock:ro
wordpress:
image: wordpress:php7.1-apache
ports:
- 8080:80
environment:
WORDPRESS_DB_HOST: mysql
WORDPRESS_DB_USER: root
WORDPRESS_DB_PASSWORD: root
WORDPRESS_DB_NAME: wordpress
VIRTUAL_HOST: www.ejemplo.com
LETSENCRYPT_HOST: www.ejemplo.com
LETSENCRYPT_EMAIL: [email protected]
links:
- mysql:mysql
mysql:
image: mysql:8.0.13
command: --default-authentication-plugin=mysql_native_password
environment:
MYSQL_DATABASE: wordpress
MYSQL_ROOT_PASSWORD: root
volumes:
- ~/docker/mysql-data:/var/lib/mysql
minio:
image: minio/minio
command: server /data
ports:
- 9000:9000
environment:
MINIO_ACCESS_KEY: AKIAIOSFODNN7EXAMPLE
MINIO_SECRET_KEY: wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY
MINIO_DOMAIN: s3.ejemplo.com
VIRTUAL_HOST: s3.ejemplo.com
LETSENCRYPT_HOST: s3.ejemplo.com
LETSENCRYPT_EMAIL: [email protected]
volumes:
- ~/docker/minio-data:/data
volumes:
certs:
confd:
vhostd:
html: