Added submodules

master
Florian Meissner, DL1MRV 2023-07-13 20:15:18 +02:00
parent 70a170af35
commit 603b562b51
4 changed files with 45 additions and 0 deletions

7
.gitmodules vendored
View File

@ -1,3 +1,10 @@
[submodule "backend"]
path = backend
url = ./backend/
[submodule "frontend"]
path = frontend
url = ./frontend/
[submodule "database"]
path = database
url = ./database/

1
database Submodule

@ -0,0 +1 @@
Subproject commit 98b09ea1738f3acae35048ae70db30c1fc069e65

View File

@ -65,6 +65,42 @@ services:
networks:
- backend
# secrets:
# -
frontend-nginx:
container_name: european-airports_www-nginx
build:
context: ./nginx
args:
NGINX_VERSION: ${NGINX_VERSION}
image: european-airports/www-nginx
restart: always
ports:
- 8080:80
depends_on:
- frontend-php
env_file:
- ./nginx/nginx.env
- ./frontend/nginx.env
volumes:
- ./frontend/src/:/var/www/html
networks:
- web
frontend-php:
container_name: european-airports_www-php
build:
context: ./php-fpm
args:
PHP_VERSION: ${PHP_VERSION}
image: european-airports/www-php-fpm
restart: always
env_file: ./php-fpm/php.env
volumes:
- ./frontend/src/:/var/www/html
networks:
- web
# secrets:
# -
networks:

1
frontend Submodule

@ -0,0 +1 @@
Subproject commit 4e94a3b359b453e215dda48b217538c3c627c900