commit d2a217a44469ebcfe07b285e6082cf4bf78f43b4 Author: shagi Date: Wed Sep 8 21:28:42 2021 +0200 Initial Commit 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 @@ +