Public Repository

Last pushed: 9 months ago
Short Description
Owncloud Container for Raspbian
Full Description

This image includes tools to enable SSL with let's encrypt certificate (certbot)

Once the image is started, perform the following actions to complete the setup and enable SSL:

  1. Set the ServerName
    root@hostname:/home/root# docker exec -it <Name of the container> /bin/bash
    root@c48d0c3e2e8e:/var/www/html# vi /etc/apache2/sites-enabled/000-default.conf
    => Set ServerName to your web site hostname:
    ServerName <hostname>

  2. Issue the let's encrypt certificate and enable SSL
    root@c48d0c3e2e8e:/var/www/html# certbot --apache
    => Validate your hostname
    => Type your email address
    => Choose secure mode and http redirection to https

If you want to use MariaDB / MySQL with Owncloud, you can use docker-compose with the following docker-compose.yml file:

version: '2'

services:

owncloud:
image: blepiolot/rpi-owncloud:latest
container_name: owncloud-01
ports:

  - 1080:80
  - 1443:443
volumes:
  - html-volume:/var/www/html
  - apache2-conf-volume:/etc/apache2
depends_on:
  - mysql

mysql:
image: blepiolot/rpi-mariadb:latest
container_name: mariadb-01
volumes:

  - db-volume:/var/lib/mysql
environment:
  MYSQL_ROOT_PASSWORD: Password

volumes:
html-volume:
apache2-conf-volume:
db-volume:

Docker Pull Command
Owner
blepiolot