commit 42f1f4d02058b98824f33bed8a31a724d93627f8 Author: rainerosion Date: Fri Oct 1 23:30:19 2021 +0800 add api 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 @@ +