Browse Source

Renamed docker network

tags/v1.0.0
Robin Thoni 5 years ago
parent
commit
c4f4cfd5c3
1 changed files with 6 additions and 6 deletions
  1. 6
    6
      docker-compose.yml

+ 6
- 6
docker-compose.yml View File

@@ -6,9 +6,9 @@ services:
6 6
         container_name: nextcloud-postgresql
7 7
 #        restart: unless-stopped
8 8
         networks:
9
-            nextcloud.internal.docker:
9
+            main:
10 10
                 aliases:
11
-                    - postgresql.nextcloud.internal.docker
11
+                    - postgresql.main.internal.docker
12 12
         volumes:
13 13
             - ./data/postgresql/data:/var/lib/postgresql/data
14 14
         ports:
@@ -21,19 +21,19 @@ services:
21 21
         container_name: nextcloud-nextcloud
22 22
 #        restart: unless-stopped
23 23
         networks:
24
-            nextcloud.internal.docker:
24
+            main:
25 25
                 aliases:
26
-                    - nextcloud.nextcloud.internal.docker
26
+                    - nextcloud.main.internal.docker
27 27
         volumes:
28 28
             - ./data/nextcloud/apps:/var/www/html/apps
29 29
             - ./data/nextcloud/config:/var/www/html/config
30 30
             - ./data/nextcloud/data:/var/www/html/data
31 31
         ports:
32
-          - "127.0.0.1:35081:80"
32
+            - "127.0.0.1:35081:80"
33 33
         environment:
34 34
           POSTGRES_DB: nextcloud
35 35
         env_file:
36 36
             - env
37 37
 
38 38
 networks:
39
-    nextcloud.internal.docker:
39
+    main:

Loading…
Cancel
Save