wip
This commit is contained in:
@@ -8,4 +8,10 @@ RUN docker-php-ext-install pdo pdo_mysql
|
||||
# install and add xdebug extension
|
||||
# @todo What is pecl?
|
||||
# @todo What is xdebug and how do I use it?
|
||||
RUN pecl install xdebug && docker-php-ext-enable xdebug
|
||||
RUN pecl install xdebug && docker-php-ext-enable xdebug
|
||||
|
||||
RUN ls /home/ -lah
|
||||
ADD ./cwsvjudo@bplaced/www/participo /home/cwsvjudo/httpdocs/participo/lastLogins.json
|
||||
RUN chown -R www-data:www-data /home/cwsvjudo/httpdocs/participo/lastLogins.json
|
||||
|
||||
RUN ls -lah /home/cwsvjudo/httpdocs/participo/
|
||||
|
||||
@@ -1,15 +0,0 @@
|
||||
<?php
|
||||
# demo file testing the docker installed db
|
||||
$pdo = new PDO(
|
||||
'mysql:dbname=cwsvjudo; host=database;',
|
||||
'cwsvjudo',
|
||||
'kodokan',
|
||||
|
||||
[PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION]
|
||||
);
|
||||
|
||||
$query = $pdo->query('SHOW VARIABLES like "version"');
|
||||
|
||||
$row = $query->fetch();
|
||||
|
||||
echo 'MYSQL version: '. $row['Value'];
|
||||
@@ -12,10 +12,16 @@ services:
|
||||
- "80:80"
|
||||
# files and directories to be available in the container
|
||||
# - localPath:pathInContainer
|
||||
volumes:
|
||||
volumes:
|
||||
# nginx config file
|
||||
- ./nginx.conf:/etc/nginx/conf.d/nginx.conf
|
||||
# - ./app:/app
|
||||
- ./cwsvjudo@bplaced/:/users/cwsvjudo
|
||||
# the app itself
|
||||
- ./cwsvjudo@bplaced/www/participo:/home/cwsvjudo/httpdocs/participo
|
||||
# the apps config files
|
||||
- ./config-heliohost/cwsvJudo.config.php:/home/cwsvjudo/.local/cwsvJudo.config.php
|
||||
# ressourcen
|
||||
- /home/marko/cwsvJudo/submodules/materialize/dist:/home/cwsvjudo/httpdocs/ressourcen/materializeCss
|
||||
- /home/marko/cwsvJudo/homepage/cwsvJudo/build/graphiken:/home/cwsvjudo/httpdocs/ressourcen/graphiken
|
||||
# php and extensions
|
||||
php:
|
||||
# use pre-build image from docker..
|
||||
@@ -27,8 +33,10 @@ services:
|
||||
# files and directories to be available in the container
|
||||
# @todo Except from better structuring: Is there a reason for not having the volumes as one central list?
|
||||
volumes:
|
||||
- ./cwsvjudo@bplaced:/users/cwsvjudo/
|
||||
# install a dm
|
||||
# the app itself
|
||||
- ./cwsvjudo@bplaced/www/participo:/home/cwsvjudo/httpdocs/participo
|
||||
# the apps config files
|
||||
- ./config-heliohost/cwsvJudo.config.php:/home/cwsvjudo/.local/cwsvJudo.config.php
|
||||
# @todo Maybe use postgre instead?
|
||||
database:
|
||||
image: mariadb:latest
|
||||
|
||||
@@ -1,7 +1,8 @@
|
||||
# @todo Needs helpfull comments.
|
||||
server {
|
||||
listen 80 default_server;
|
||||
root /users/cwsvjudo/www;
|
||||
# root /users/cwsvjudo/www;
|
||||
root /home/cwsvjudo/httpdocs;
|
||||
|
||||
index index.php index.html index.htm;
|
||||
|
||||
|
||||
16
homepage/cwsvJudo/participo/traineetable.md
Normal file
16
homepage/cwsvJudo/participo/traineetable.md
Normal file
@@ -0,0 +1,16 @@
|
||||
# Planung Kyu-Prüfung 2024-2
|
||||
|
||||
| Name | Vorname | AK | Kyu | 2xKyu |
|
||||
| :---------- | :-------- | :---: | :---: | :---: |
|
||||
| Weidensager | Nick | M | (X) | - |
|
||||
| Dumler | Arthur | U18 | (X) | - |
|
||||
| Richter | Friedrich | U17 | X | X |
|
||||
| Brittnacher | Romy | U14 | (X) | - |
|
||||
| Richter | August | U13 | X | X |
|
||||
| Eberlein | Benedikt | U12 | X | X |
|
||||
| Kutschmann | Leonhard | U12 | X | X |
|
||||
| Bondar | David | U12 | X | X |
|
||||
| Ortmans | Leonie | U11 | (X) | - |
|
||||
| Maiatska | Mariia | U10 | (X) | - |
|
||||
| Eberlein | Johanna | U10 | X | - |
|
||||
| Gerlach | Mara | U9 | (X) | - |
|
||||
Reference in New Issue
Block a user