From 95f70d4625c265dc74fdba7979105a170031a598 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julian=20K=C3=B6glmeier?= Date: Sat, 20 May 2023 20:07:08 +0200 Subject: [PATCH] Add compose files, owncloud --- loadbalancer/docker-compose.yml | 6 ++++++ loadbalancer/{ => image}/Dockerfile | 0 loadbalancer/{ => image}/httpd-vhost.conf | 0 loadbalancer/{ => image}/lb-httpd.conf | 0 owncloud/.env | 6 ++++++ owncloud/docker-compose.yml | 25 +++++++++++++++++++++++ 6 files changed, 37 insertions(+) create mode 100644 loadbalancer/docker-compose.yml rename loadbalancer/{ => image}/Dockerfile (100%) rename loadbalancer/{ => image}/httpd-vhost.conf (100%) rename loadbalancer/{ => image}/lb-httpd.conf (100%) create mode 100644 owncloud/.env create mode 100644 owncloud/docker-compose.yml diff --git a/loadbalancer/docker-compose.yml b/loadbalancer/docker-compose.yml new file mode 100644 index 0000000..d690912 --- /dev/null +++ b/loadbalancer/docker-compose.yml @@ -0,0 +1,6 @@ +services: + loadbalancer: + image: cringestudios/loadbalancer + ports: + - 80:80 + restart: always diff --git a/loadbalancer/Dockerfile b/loadbalancer/image/Dockerfile similarity index 100% rename from loadbalancer/Dockerfile rename to loadbalancer/image/Dockerfile diff --git a/loadbalancer/httpd-vhost.conf b/loadbalancer/image/httpd-vhost.conf similarity index 100% rename from loadbalancer/httpd-vhost.conf rename to loadbalancer/image/httpd-vhost.conf diff --git a/loadbalancer/lb-httpd.conf b/loadbalancer/image/lb-httpd.conf similarity index 100% rename from loadbalancer/lb-httpd.conf rename to loadbalancer/image/lb-httpd.conf diff --git a/owncloud/.env b/owncloud/.env new file mode 100644 index 0000000..f339493 --- /dev/null +++ b/owncloud/.env @@ -0,0 +1,6 @@ +OWNCLOUD_VERSION=latest +OWNCLOUD_DOMAIN=192.168.64.69:80 +OWNCLOUD_TRUSTED_DOMAINS=192.168.64.69 +ADMIN_USERNAME=admin +ADMIN_PASSWORD=admin +HTTP_PORT=8080 diff --git a/owncloud/docker-compose.yml b/owncloud/docker-compose.yml new file mode 100644 index 0000000..f14617b --- /dev/null +++ b/owncloud/docker-compose.yml @@ -0,0 +1,25 @@ +services: + owncloud: + image: owncloud/server:latest + + ports: + - 80:8080 + + volumes: + - "./data:/mnt/data" + + restart: always + + environment: + - OWNCLOUD_DOMAIN=${OWNCLOUD_DOMAIN} + - OWNCLOUD_TRUSTED_DOMAINS=${OWNCLOUD_TRUSTED_DOMAINS} +# - OWNCLOUD_DB_TYPE=mysql +# - OWNCLOUD_DB_NAME=owncloud +# - OWNCLOUD_DB_USERNAME=owncloud +# - OWNCLOUD_DB_PASSWORD=owncloud +# - OWNCLOUD_DB_HOST=mariadb + - OWNCLOUD_ADMIN_USERNAME=${ADMIN_USERNAME} + - OWNCLOUD_ADMIN_PASSWORD=${ADMIN_PASSWORD} +# - OWNCLOUD_MYSQL_UTF8MB4=true +# - OWNCLOUD_REDIS_ENABLED=true +# - OWNCLOUD_REDIS_HOST=redis