Browse Source

Moved to nextcloud 16

tags/v1.0.0
Robin Thoni 5 years ago
parent
commit
3666dce728
3 changed files with 21 additions and 26 deletions
  1. 16
    16
      docker-compose.yml
  2. 5
    9
      env
  3. 0
    1
      owncloud/Dockerfile

+ 16
- 16
docker-compose.yml View File

@@ -3,37 +3,37 @@ version: '2'
3 3
 services:
4 4
     postgresql:
5 5
         build: ./postgresql
6
-        container_name: owncloud-postgresql
6
+        container_name: nextcloud-postgresql
7 7
 #        restart: unless-stopped
8 8
         networks:
9
-            owncloud.internal.docker:
9
+            nextcloud.internal.docker:
10 10
                 aliases:
11
-                    - postgresql.owncloud.internal.docker
11
+                    - postgresql.nextcloud.internal.docker
12 12
         volumes:
13 13
             - ./data/postgresql/data:/var/lib/postgresql/data
14
-            - ./data/postgresql/backup:/var/lib/postgresql/backup
15 14
         ports:
16
-            - "127.0.0.1:35080:5432"
15
+            - "127.0.0.1:3580:5432"
17 16
         env_file:
18 17
             - env
19 18
 
20
-    owncloud:
21
-        build: ./owncloud
22
-        container_name: owncloud-owncloud
19
+    nextcloud:
20
+        build: ./nextcloud
21
+        container_name: nextcloud-nextcloud
23 22
 #        restart: unless-stopped
24 23
         networks:
25
-            owncloud.internal.docker:
24
+            nextcloud.internal.docker:
26 25
                 aliases:
27
-                    - owncloud.owncloud.internal.docker
26
+                    - nextcloud.nextcloud.internal.docker
28 27
         volumes:
29
-            - ./data/owncloud/apps:/var/www/html/apps
30
-            - ./data/owncloud/config:/var/www/html/config
31
-            - ./data/owncloud/data:/var/www/html/data
28
+            - ./data/nextcloud/apps:/var/www/html/apps
29
+            - ./data/nextcloud/config:/var/www/html/config
30
+            - ./data/nextcloud/data:/var/www/html/data
32 31
         ports:
33
-          #- "127.0.0.1:35081:80"
34
-            - "0.0.0.0:35081:80"
32
+          - "127.0.0.1:35081:80"
33
+        environment:
34
+          POSTGRES_DB: nextcloud
35 35
         env_file:
36 36
             - env
37 37
 
38 38
 networks:
39
-    owncloud.internal.docker:
39
+    nextcloud.internal.docker:

+ 5
- 9
env View File

@@ -1,10 +1,6 @@
1
-POSTGRES_MASTER_MODE=1
2
-POSTGRES_HOST=postgresql.owncloud.internal.docker
3
-POSTGRES_USER=owncloud
1
+POSTGRES_USER=postgres
4 2
 POSTGRES_PASSWORD=change_it
5
-POSTGRES_DB=owncloud
6
-POSTGRES_REP_USER=replicator
7
-POSTGRES_REP_PASSWORD=change_it
8
-POSTGRES_REP_ALLOWED_HOST=127.0.0.1/32
9
-POSTGRES_RO_USER=owncloud_ro
10
-POSTGRES_RO_PASSWORD=change_it
3
+POSTGRES_HOST=postgresql.nextcloud.internal.docker:5432
4
+
5
+NEXTCLOUD_ADMIN_USER=root
6
+NEXTCLOUD_ADMIN_PASSWORD=change_it

+ 0
- 1
owncloud/Dockerfile View File

@@ -1 +0,0 @@
1
-FROM owncloud:10.0-apache

Loading…
Cancel
Save