From 42f1f4d02058b98824f33bed8a31a724d93627f8 Mon Sep 17 00:00:00 2001 From: rainerosion Date: Fri, 1 Oct 2021 23:30:19 +0800 Subject: [PATCH] add api --- docker-compose.yaml | 15 +++++++++++++++ index.php | 34 ++++++++++++++++++++++++++++++++++ 2 files changed, 49 insertions(+) create mode 100644 docker-compose.yaml create mode 100644 index.php diff --git a/docker-compose.yaml b/docker-compose.yaml new file mode 100644 index 0000000..2ddaa93 --- /dev/null +++ b/docker-compose.yaml @@ -0,0 +1,15 @@ +version: '3' +services: + phpweb: + container_name: php73-tipdw + image: phpstorm/php-73-apache-xdebug-27 + ports: + - 8081:80 + volumes: + - ./:/var/www/html + environment: + XDEBUG_CONFIG: remote_host=host.docker.internal + networks: + - php73-tipdw +networks: + php73-tipdw: \ No newline at end of file diff --git a/index.php b/index.php new file mode 100644 index 0000000..d05f0ed --- /dev/null +++ b/index.php @@ -0,0 +1,34 @@ +