Skip to content
This repository was archived by the owner on Apr 4, 2023. It is now read-only.

Commit cbe6a4d

Browse files
author
Matthias Pfefferle
committed
added docker stage
1 parent 74d47c2 commit cbe6a4d

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

docker-compose.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
version: '2'
2+
services:
3+
db:
4+
image: mysql:5.7
5+
restart: always
6+
environment:
7+
MYSQL_ROOT_PASSWORD: wordpress
8+
MYSQL_DATABASE: wordpress
9+
MYSQL_USER: wordpress
10+
MYSQL_PASSWORD: wordpress
11+
12+
wordpress:
13+
depends_on:
14+
- db
15+
image: wordpress:latest
16+
links:
17+
- db
18+
ports:
19+
- "8088:80"
20+
volumes:
21+
- .:/var/www/html/wp-content/plugins/semantic-linkbacks
22+
restart: always
23+
environment:
24+
WORDPRESS_DB_HOST: db:3306
25+
WORDPRESS_DB_PASSWORD: wordpress
26+
WORDPRESS_DEBUG: 1

0 commit comments

Comments
 (0)