From c21067e4e4ba2ed3cb2b25613960adf8391d4f98 Mon Sep 17 00:00:00 2001 From: Trygve Laugstøl Date: Mon, 30 Mar 2020 23:19:53 +0200 Subject: docker: owncloud. --- docker/birgitte/owncloud/docker-compose.yml | 41 +++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 docker/birgitte/owncloud/docker-compose.yml (limited to 'docker') diff --git a/docker/birgitte/owncloud/docker-compose.yml b/docker/birgitte/owncloud/docker-compose.yml new file mode 100644 index 0000000..3e5a599 --- /dev/null +++ b/docker/birgitte/owncloud/docker-compose.yml @@ -0,0 +1,41 @@ +# From https://raw.githubusercontent.com/owncloud/docs/master/modules/admin_manual/examples/installation/docker/docker-compose.yml + +version: '2.1' + +volumes: + files: + driver: local + +services: + owncloud: + image: owncloud/server:10 + restart: always + ports: + - 8081:8080 +# depends_on: +# - db +# - redis + environment: + - OWNCLOUD_DOMAIN=owncloud.trygvis.io + - OWNCLOUD_DB_TYPE=pgsql + - OWNCLOUD_DB_NAME=owncloud + - OWNCLOUD_DB_USERNAME=owncloud + - OWNCLOUD_DB_PASSWORD=U0VmTan9jg +# - OWNCLOUD_DB_HOST=127.0.0.1 + - OWNCLOUD_DB_HOST=database + - OWNCLOUD_ADMIN_USERNAME=admin + - OWNCLOUD_ADMIN_PASSWORD=123 +# - OWNCLOUD_MYSQL_UTF8MB4=true + - OWNCLOUD_REDIS_ENABLED=false +# - OWNCLOUD_REDIS_HOST=redis + healthcheck: + test: ["CMD", "/usr/bin/healthcheck"] + interval: 30s + timeout: 10s + retries: 5 + volumes: +# - files:/mnt/data +# - /disk1/owncloud/data:/mnt/data + - /pool0/owncloud:/mnt/data + extra_hosts: + database: 172.17.0.1 -- cgit v1.2.3