hylooki.blogg.se

Enable https for bitnami owncloud
Enable https for bitnami owncloud




  1. #Enable https for bitnami owncloud install
  2. #Enable https for bitnami owncloud download

ServerName Note that a DNS entry for this FQDN must exist. # Add the following directive to set the hostname of your owncloud server

enable https for bitnami owncloud

Open a shell in the # docker exec -it owncloud-01 # vi /etc/apache2/sites-enabled/nf Once the containers are up, perform the following actions to complete the setup and enable SSL: Go to the directory where the “docker-compose.yml” is and run the following command:

#Enable https for bitnami owncloud download

– letsencrypt-conf-volume:/etc/letsencryptĬlick hereto download the “docker-compose.yml” file Using Docker Compose to run Owncloud with MariaDB # docker build -t blepiolot/rpi-owncloud. – Add a volume for Apache and let’s encrypt configurationĬlick here to download the Dockerfile Building

#Enable https for bitnami owncloud install

– Add packages to issue “Let’s Encrypt” certificatesĮcho “deb jessie-backports main” > /etc/apt//backport.list \Īpt-key adv –keyserver ha. –recv-keys 8B48AD6246925553 \Īpt-key adv –keyserver ha. –recv-keys 7638D0442B90D010 \Īpt-get install python-certbot-apache -t jessie-backports RUN echo “TZ=’Europe/Paris’ export TZ” > /etc/profile – Add the installation of package vim (around line 19) – Change the base image: FROM blepiolot/rpi-apache-php:latest $ cp owncloud-master/10.0/apache/docker-entrypoint.sh. $ cp owncloud-master/10.0/apache/Dockerfile. (This build requires a lot of memory, I had to shutdown other docker containers and Kodi to compile it)ĭownload the Github repository of the official Owncloud Docker image: (you can also find the links for different versions of Owncloud from ) # docker build -t blepiolot/rpi-apache-php. $ cp php-master/7.1/jessie/apache/apache2-foreground. $ cp php-master/7.1/jessie/apache/docker-php-*. $ cp php-master/7.1/jessie/apache/Dockerfile.

enable https for bitnami owncloud

Unzip master.zip in the folder from which you want to build the image. # docker tag 776f42dadb1e blepiolot/rpi-mariadb:10.0.32Īpache/PHP Container Customize the official Dockerfile for Raspberryĭownload the Github repository of the official PHP Docker image: (you can also find the links for different versions of PHP from ) – Remove the installation of “percona” and “socat” packages (around line 98)Ĭlick here to download the Dockerfile. – After the declaration of MARIADB_VERSION, comment the insertion of the mariadb repository (around line 79) – Set the minor version to install: ENV MARIADB_VERSION 10.0.29-0+deb8u1 – Comment the lines that concern the percona repository declaration (around line 68) – Change the base image: FROM resin/rpi-raspbian:jessie You can also download the Github repository ()ĭocker-entreypoint.sh must be executable: If you want to run these containers on your Raspberry Pi, you can either pull the images from my Docker hub repository (blepiolot/rpi-mariadb, blepiolot/rpi-apache-php and rpi-owncloud) or rebuild the images using the Dockerfiles provided below.Ĭustomize the official Dockerfile for Raspberryĭownload “Dockerfile” and “docker-entrypoint.sh” from “” (link from for different versions of MariaDB). For these containers, I chose Raspbian Jessie as the operating system using the image “resin/rpi-raspbian:jessie”. To build Docker images for Raspberry Pi, I download the Dockerfile of official images from the Docker Hub and modify them to change at least the base operating system (which is a x86 Linux for official images) and the packages. You can find some ports on the following repository: Usually, these images have a name which begins with “rpi-” or “armhf-“.

enable https for bitnami owncloud

You need to look for images which are built for Raspberry Pi (ARM). Note: Many images in the Docker Hub are for x86 Linux systems. To install docker-compose on Raspbian, use the following commands: Docker can be installed easily using the following command:Īs we will use 2 containers for this Owncloud setup, we also need docker-compose in order to start all services using one single command.






Enable https for bitnami owncloud