From 453ecef4e8e015de60bf4dfc707a264ef91895bc Mon Sep 17 00:00:00 2001 From: "Florian Meissner, DL1MRV" Date: Thu, 13 Jul 2023 11:50:48 +0200 Subject: [PATCH] First page served --- composer.json | 18 +++++++++--------- nginx.env | 36 ++++++++++++++++++++++++++++++++++++ src/index.php | 2 ++ src/test.htm | 1 + 4 files changed, 48 insertions(+), 9 deletions(-) create mode 100644 nginx.env create mode 100644 src/index.php create mode 100644 src/test.htm diff --git a/composer.json b/composer.json index 4419be2..0d2ea37 100644 --- a/composer.json +++ b/composer.json @@ -4,26 +4,26 @@ "Org.european-airports.api" : "src" } }, - "name" : "org.european-airports.api/Backend", + "name" : "org.european-airports.api/backend", "require" : { "php" : ">=8.2" }, - "description" : "Backend logig and API provider for European Airports", + "description" : "Backend logic and API provider for European Airports", "type" : "project", "homepage" : "https://api.european-airports.org", "license" : "GPL-3.0", "authors" : [{ "name" : "Florian Meissner", "email" : "florianmeissner@gmx.de", - "homepage" : "florian-meissner.org", - "role" : [ - "Developer", - "Owner", - "Manager" - ] + "homepage" : "https://florian-meissner.org", + "role" : "Developer, Owner, Manager" } ], "keywords" : [ "backend api european-airports" - ] + ], + "readme" : "./README.md", + "support" : { + "email" : "info@european-airports.org" + } } \ No newline at end of file diff --git a/nginx.env b/nginx.env new file mode 100644 index 0000000..28b85e5 --- /dev/null +++ b/nginx.env @@ -0,0 +1,36 @@ +# **************************************************************************************************** +# * ______ _ _ * +# * | ____| /\ (_) | | * +# * | |__ _ _ _ __ ___ _ __ ___ __ _ _ __ / \ _ _ __ _ __ ___ _ __| |_ ___ * +# * | __|| | | | '__/ _ \| '_ \ / _ \/ _` | '_ \ / /\ \ | | '__| '_ \ / _ \| '__| __/ __| * +# * | |___| |_| | | | (_) | |_) | __/ (_| | | | | / ____ \| | | | |_) | (_) | | | |_\__ \ * +# * |______\__,_|_| \___/| .__/ \___|\__,_|_| |_| /_/ \_\_|_| | .__/ \___/|_| \__|___/ * +# * | | | | * +# * |_| |_| * +# * * +# **************************************************************************************************** + +# This file is part of the European Airports Project, a free, collaborative platform of airport data +# extending beyond the official AIPs. + +# Copyright (C) 2023 + +# Florian Meissner + +# This program is free software: you can redistribute it and/or modify it under the +# terms of the GNU General Public License as published by the Free Software Foundation, either +# version 3 of the License, or (at your option) any later version. This program is distributed in the +# hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +# details. You should have received a copy of the GNU General Public License along with this program. +# (license.md in the root folder of this project) If not, see . + + +# This file contains environment variables for customizing nginx's config file to this particular +# service. + +# Name of the docker service that should handle PHP requests. +PHP_HOST=backend-php + +# Host URL of this service +NGINX_HOST=api.european-airports.org diff --git a/src/index.php b/src/index.php new file mode 100644 index 0000000..3ba3f70 --- /dev/null +++ b/src/index.php @@ -0,0 +1,2 @@ +Test \ No newline at end of file