From d2a217a44469ebcfe07b285e6082cf4bf78f43b4 Mon Sep 17 00:00:00 2001 From: shagi Date: Wed, 8 Sep 2021 21:28:42 +0200 Subject: [PATCH] Initial Commit --- .gitignore | 5 ++ backups/.gitkeep | 0 docker-compose.yml | 18 ++++ environment_mariadb | 4 + etc/hm/LocalSettings.php | 182 +++++++++++++++++++++++++++++++++++++++ images/hm/Dockerfile | 16 ++++ readme.md | 26 ++++++ 7 files changed, 251 insertions(+) create mode 100644 .gitignore create mode 100644 backups/.gitkeep create mode 100644 docker-compose.yml create mode 100644 environment_mariadb create mode 100644 etc/hm/LocalSettings.php create mode 100644 images/hm/Dockerfile create mode 100644 readme.md diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..539dbc9 --- /dev/null +++ b/.gitignore @@ -0,0 +1,5 @@ +/data +/html-es.hackmeeting.org +/docker-compose.override.yml +/environment_mariadb_local +/backups/*sql diff --git a/backups/.gitkeep b/backups/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..74bc3d3 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,18 @@ +version: "3" + +services: + hm: + restart: always + build: ./images/hm + ports: + - "8080:80" + volumes: + - ./html-es.hackmeeting.org:/var/www/html + - ./etc/hm/LocalSettings.php:/var/www/html/LocalSettings.php + mariadb: + restart: always + image: mariadb + env_file: environment_mariadb + volumes: + - ./data/mariadb:/var/lib/mysql + - ./backups:/backups diff --git a/environment_mariadb b/environment_mariadb new file mode 100644 index 0000000..98d6181 --- /dev/null +++ b/environment_mariadb @@ -0,0 +1,4 @@ +MARIADB_ROOT_PASSWORD=root +MARIADB_DATABASE=hackmeeting +MARIADB_USER=hackmeeting +MARIADB_PASSWORD=hackmeeting diff --git a/etc/hm/LocalSettings.php b/etc/hm/LocalSettings.php new file mode 100644 index 0000000..d4061c0 --- /dev/null +++ b/etc/hm/LocalSettings.php @@ -0,0 +1,182 @@ +