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

Loading…
Cancel
Save