File tree 1 file changed +24
-4
lines changed
1 file changed +24
-4
lines changed Original file line number Diff line number Diff line change @@ -22,9 +22,9 @@ services:
22
22
# from our webserver.
23
23
#
24
24
php :
25
+ image : wordpress:5.0.0-fpm
25
26
depends_on :
26
27
- db
27
- image : wordpress:5.0.0-fpm
28
28
restart : always
29
29
volumes :
30
30
#
@@ -42,9 +42,9 @@ services:
42
42
WORDPRESS_DB_PASSWORD : wordpress
43
43
44
44
web :
45
+ image : nginx
45
46
depends_on :
46
47
- php
47
- image : nginx
48
48
restart : always
49
49
volumes :
50
50
#
@@ -60,8 +60,28 @@ services:
60
60
# rotated on the parent system.
61
61
#
62
62
- ./logs:/var/log/nginx
63
- ports :
64
- - 8080:80
65
63
66
64
65
+ https-portal :
66
+ image : steveltn/https-portal:1
67
+ depends_on :
68
+ - web
69
+ ports :
70
+ - 80:80
71
+ - 443:443
72
+ restart : always
73
+ #
74
+ # Save our SSL certs between runs so they aren't regenerated on every single run.
75
+ #
76
+ volumes :
77
+ - ./ssl_certs:/var/lib/https-portal
78
+ environment :
79
+ DOMAINS : ' localhost -> http://web:80 #local'
80
+ # DOMAINS: 'YOUR_FQDN -> http://web:80 #staging' # Uncomment when you want to test a staging cert.
81
+ # DOMAINS: 'YOUR_FQDN -> http://web:80 #production' # Uncomment when you are ready for production.
82
+ #
83
+ # Allow larger files to be uploaded
84
+ #
85
+ CLIENT_MAX_BODY_SIZE : 64M
86
+
67
87
You can’t perform that action at this time.
0 commit comments