aboutsummaryrefslogtreecommitdiff
path: root/app/integration/nextcloud
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2021-01-16 17:07:01 +0100
committerAlex Auvolat <alex@adnab.me>2021-01-16 17:07:01 +0100
commitc74dc92febd1841c8ea5ff31caab0f941d57527d (patch)
treed05a203d95cac988952799667ec43c327a5d9038 /app/integration/nextcloud
parent0c4ee40e01c95d7bf73236cbead5cc261f67eb9d (diff)
downloadinfrastructure-c74dc92febd1841c8ea5ff31caab0f941d57527d.tar.gz
infrastructure-c74dc92febd1841c8ea5ff31caab0f941d57527d.zip
Proposal: reorganize app/ folder by modules
Diffstat (limited to 'app/integration/nextcloud')
-rw-r--r--app/integration/nextcloud/README.md20
-rw-r--r--app/integration/nextcloud/bottin.json31
-rw-r--r--app/integration/nextcloud/docker-compose.yml27
3 files changed, 0 insertions, 78 deletions
diff --git a/app/integration/nextcloud/README.md b/app/integration/nextcloud/README.md
deleted file mode 100644
index 3d49768..0000000
--- a/app/integration/nextcloud/README.md
+++ /dev/null
@@ -1,20 +0,0 @@
-Install Owncloud CLI:
-
-php ./occ \
- --no-interaction \
- --verbose \
- maintenance:install \
- --database pgsql \
- --database-name nextcloud \
- --database-host postgres \
- --database-user nextcloud \
- --database-pass nextcloud \
- --admin-user nextcloud \
- --admin-pass nextcloud \
- --admin-email coucou@deuxfleurs.fr
-
-Official image entrypoint:
-
-https://github.com/nextcloud/docker/blob/master/20.0/fpm/entrypoint.sh
-
-
diff --git a/app/integration/nextcloud/bottin.json b/app/integration/nextcloud/bottin.json
deleted file mode 100644
index a970762..0000000
--- a/app/integration/nextcloud/bottin.json
+++ /dev/null
@@ -1,31 +0,0 @@
-{
- "suffix": "dc=deuxfleurs,dc=fr",
- "bind": "0.0.0.0:389",
- "consul_host": "http://consul:8500",
- "log_level": "debug",
- "acl": [
- "*,dc=deuxfleurs,dc=fr::read:*:* !userpassword",
- "*::read modify:SELF:*",
- "ANONYMOUS::bind:*,ou=users,dc=deuxfleurs,dc=fr:",
- "ANONYMOUS::bind:cn=admin,dc=deuxfleurs,dc=fr:",
- "*,ou=services,ou=users,dc=deuxfleurs,dc=fr::bind:*,ou=users,dc=deuxfleurs,dc=fr:*",
- "*,ou=services,ou=users,dc=deuxfleurs,dc=fr::read:*:*",
-
- "*:cn=asso_deuxfleurs,ou=groups,dc=deuxfleurs,dc=fr:add:*,ou=invitations,dc=deuxfleurs,dc=fr:*",
- "ANONYMOUS::bind:*,ou=invitations,dc=deuxfleurs,dc=fr:",
- "*,ou=invitations,dc=deuxfleurs,dc=fr::delete:SELF:*",
-
- "*:cn=asso_deuxfleurs,ou=groups,dc=deuxfleurs,dc=fr:add:*,ou=users,dc=deuxfleurs,dc=fr:*",
- "*,ou=invitations,dc=deuxfleurs,dc=fr::add:*,ou=users,dc=deuxfleurs,dc=fr:*",
-
- "*:cn=asso_deuxfleurs,ou=groups,dc=deuxfleurs,dc=fr:modifyAdd:cn=email,ou=groups,dc=deuxfleurs,dc=fr:*",
- "*,ou=invitations,dc=deuxfleurs,dc=fr::modifyAdd:cn=email,ou=groups,dc=deuxfleurs,dc=fr:*",
- "*:cn=asso_deuxfleurs,ou=groups,dc=deuxfleurs,dc=fr:modifyAdd:cn=seafile,ou=groups,dc=deuxfleurs,dc=fr:*",
- "*,ou=invitations,dc=deuxfleurs,dc=fr::modifyAdd:cn=seafile,ou=groups,dc=deuxfleurs,dc=fr:*",
- "*:cn=asso_deuxfleurs,ou=groups,dc=deuxfleurs,dc=fr:modifyAdd:cn=nextcloud,ou=groups,dc=deuxfleurs,dc=fr:*",
- "*,ou=invitations,dc=deuxfleurs,dc=fr::modifyAdd:cn=seafile,ou=nextcloud,dc=deuxfleurs,dc=fr:*",
-
- "cn=admin,dc=deuxfleurs,dc=fr::read add modify delete:*:*",
- "*:cn=admin,ou=groups,dc=deuxfleurs,dc=fr:read add modify delete:*:*"
- ]
-}
diff --git a/app/integration/nextcloud/docker-compose.yml b/app/integration/nextcloud/docker-compose.yml
deleted file mode 100644
index 7ba090b..0000000
--- a/app/integration/nextcloud/docker-compose.yml
+++ /dev/null
@@ -1,27 +0,0 @@
-version: '3.4'
-services:
- php:
- image: lxpz/deuxfleurs_nextcloud_amd64:8
- depends_on:
- - bottin
- - postgres
- ports:
- - "80:80"
-
- postgres:
- image: postgres:9.6.19
- environment:
- - POSTGRES_DB=nextcloud
- - POSTGRES_USER=nextcloud
- - POSTGRES_PASSWORD=nextcloud
-
- bottin:
- image: lxpz/bottin_amd64:14
- depends_on:
- - consul
- volumes:
- - ./bottin.json:/config.json
-
- consul:
- image: consul:1.8.4
-