aboutsummaryrefslogtreecommitdiff
path: root/docker/birgitte
diff options
context:
space:
mode:
Diffstat (limited to 'docker/birgitte')
-rw-r--r--docker/birgitte/owncloud/docker-compose.yml41
1 files changed, 41 insertions, 0 deletions
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