Skip to content

Commit f5009e9

Browse files
committed
Create docker-compose.yml
1 parent 81cf721 commit f5009e9

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

docker-compose.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
wordpress:
2+
build: .
3+
links:
4+
- db:mysql
5+
expose:
6+
- 80
7+
ports:
8+
- "8000:80"
9+
environment:
10+
VIRTUAL_HOST: 'unique_wp_query.dev'
11+
WORDPRESS_DB_PASSWORD: 'dev'
12+
WORDPRESS_DEBUG: 1
13+
volumes:
14+
- .:/var/www/html/wp-content/plugins/unique_wp_query
15+
db:
16+
image: mariadb
17+
ports:
18+
- "${MYSQL_PORT}:${MYSQL_PORT}"
19+
environment:
20+
MYSQL_ROOT_PASSWORD: 'dev'

0 commit comments

Comments
 (0)