From fa73d6cedb6adac5ba2eb3fdb1afe1b6beac6a3f Mon Sep 17 00:00:00 2001 From: Nam Tran Date: Wed, 15 Jan 2020 16:55:40 -0600 Subject: [PATCH] test docker --- .gitignore | 1 + docker/tests/php/DocRoot/index.php | 1 + docker/tests/php/docker-compose.yml | 25 +++++++++++++++++++++++++ 3 files changed, 27 insertions(+) create mode 100644 .gitignore create mode 100644 docker/tests/php/DocRoot/index.php create mode 100644 docker/tests/php/docker-compose.yml diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..1e107f5 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +examples diff --git a/docker/tests/php/DocRoot/index.php b/docker/tests/php/DocRoot/index.php new file mode 100644 index 0000000..147cebc --- /dev/null +++ b/docker/tests/php/DocRoot/index.php @@ -0,0 +1 @@ + diff --git a/docker/tests/php/docker-compose.yml b/docker/tests/php/docker-compose.yml new file mode 100644 index 0000000..3771766 --- /dev/null +++ b/docker/tests/php/docker-compose.yml @@ -0,0 +1,25 @@ +version: '3' +services: + php-apache: + image: php:7.4-apache + ports: + - "8090:80" + volumes: + - "./DocRoot:/var/www/html" + links: + - 'mariadb' + + mariadb: + image: mariadb:10.1 + volumes: + - db:/var/lib/mysql + environment: + TZ: "America/Chicago" + MYSQL_ALLOW_EMPTY_PASSWORD: "no" + MYSQL_ROOT_PASSWORD: "8pwFrTUks-" + MYSQL_USER: 'user0' + MYSQL_PASSWORD: 'TCfQwfAJP!4*&cnV' + MYSQL_DATABASE: 'prod' + +volumes: + db: