summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docker-compose.yml22
1 files changed, 22 insertions, 0 deletions
diff --git a/docker-compose.yml b/docker-compose.yml
new file mode 100644
index 0000000..fe5df38
--- /dev/null
+++ b/docker-compose.yml
@@ -0,0 +1,22 @@
+services:
+ apache:
+ image: webdevops/php-apache
+ ports:
+ - 80:80
+ volumes:
+ - ./wordpress:/app
+ environment:
+ - php.memory_limit=256M
+ mariadb:
+ image: mariadb
+ ports:
+ - 3306:3306
+ volumes:
+ - mysql:/var/lib/mysql
+ environment:
+ - MARIADB_ROOT_PASSWORD=secret
+ - MARIADB_DATABASE=wordpress
+ - MARIADB_USER=wordpress
+ - MARIADB_PASSWORD=secret
+volumes:
+ mysql: