We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bcc33e0 commit abefdd9Copy full SHA for abefdd9
docker-compose.yml
@@ -0,0 +1,32 @@
1
+nginx:
2
+ image: nginx:latest
3
+ restart: always
4
+ ports:
5
+ - 80:80
6
+ - 443:443
7
+ log_driver: syslog
8
+ links:
9
+ - wordpress
10
+ volumes:
11
+ - ./wp:/var/www/html:ro
12
+ - /etc/nginx/nginx.conf:/etc/nginx/nginx.conf:ro
13
+ - /var/log/nginx:/var/log/nginx
14
+
15
+mysql:
16
+ image: mariadb:latest
17
18
19
+ - /var/mysql:/var/lib/mysql
20
+ environment:
21
+ MYSQL_ROOT_PASSWORD: password
22
23
+wordpress:
24
+ image: evild/docker-wordpress-fpm:latest
25
26
27
+ - mysql
28
29
+ - ./wp:/var/www/html
30
31
+ WORDPRESS_DB_NAME: wpdb
32
+ WORDPRESS_TABLE_PREFIX: wp_
0 commit comments