aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2020-03-30 23:19:53 +0200
committerTrygve Laugstøl <trygvis@inamo.no>2020-03-30 23:19:53 +0200
commitc21067e4e4ba2ed3cb2b25613960adf8391d4f98 (patch)
treef142d695574526cf07f16fc431e207fd60becf8c
parentcc6523f339bd7a78572ceeea79cd1943014d707d (diff)
downloadinfra-c21067e4e4ba2ed3cb2b25613960adf8391d4f98.tar.gz
infra-c21067e4e4ba2ed3cb2b25613960adf8391d4f98.tar.bz2
infra-c21067e4e4ba2ed3cb2b25613960adf8391d4f98.tar.xz
infra-c21067e4e4ba2ed3cb2b25613960adf8391d4f98.zip
docker: owncloud.
-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