File tree Expand file tree Collapse file tree 1 file changed +11
-7
lines changed Expand file tree Collapse file tree 1 file changed +11
-7
lines changed Original file line number Diff line number Diff line change 1
1
version : ' 2'
2
2
services :
3
3
nginx :
4
- image : evild/alpine-nginx:latest
4
+ image : evild/alpine-nginx:1.11.1-libressl
5
5
restart : always
6
- links :
7
- - php
8
6
volumes :
9
7
- wordpress-data:/var/www/html/:ro
10
8
- ./nginx/conf/nginx.conf:/etc/nginx/conf/nginx.conf:ro
11
9
- ./nginx/conf.d:/etc/nginx/conf.d:ro
12
10
ports :
13
11
- 80:80
14
12
- 443:443
13
+ networks :
14
+ - front
15
15
php :
16
16
image : evild/alpine-wordpress:latest
17
17
restart : always
18
18
volumes :
19
19
- wordpress-data:/var/www/html
20
20
- ./php/uploads.ini:/usr/local/etc/php/conf.d/uploads.ini
21
- depends_on :
22
- - db
23
- links :
24
- - db
25
21
environment :
26
22
- WORDPRESS_DB_NAME=wpdb
27
23
- WORDPRESS_TABLE_PREFIX=wp_
28
24
- WORDPRESS_DB_HOST=db
29
25
- WORDPRESS_DB_PASSWORD=password
26
+ networks :
27
+ - front
28
+ - back
30
29
db :
31
30
image : mariadb:latest
32
31
restart : always
33
32
volumes :
34
33
- wordpress-db-data:/var/lib/mysql
35
34
environment :
36
35
- MYSQL_ROOT_PASSWORD=password
36
+ networks :
37
+ - back
37
38
volumes :
38
39
wordpress-data :
39
40
driver : local
40
41
wordpress-db-data :
41
42
driver : local
43
+ networks :
44
+ front :
45
+ back :
You can’t perform that action at this time.
0 commit comments