From 1a1c204ca540ec3f1082df8656c62015e312b570 Mon Sep 17 00:00:00 2001 From: David Avery Date: Tue, 2 Feb 2021 11:41:07 +0000 Subject: [PATCH] Added initial compose file --- testing.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 testing.yml diff --git a/testing.yml b/testing.yml new file mode 100644 index 0000000..b49bbe2 --- /dev/null +++ b/testing.yml @@ -0,0 +1,19 @@ +version: '3.3' + +services: + wordpress: + image: wordpress:latest + volumes: + - webapptest:/var/www/html + ports: + - "8000:80" + restart: always + environment: + - WORDPRESS_DB_HOST=${WORDPRESS_DB_HOST} + - WORDPRESS_DB_USER=${WORDPRESS_DB_USER} + - WORDPRESS_DB_PASSWORD=${WORDPRESS_DB_PASSWORD} + - WORDPRESS_DB_NAME=${WORDPRESS_DB_NAME} + +volumes: + webapptest: + driver: local \ No newline at end of file