Browse Source

Updating build scripts for compose

Boris Aguilar 5 years ago
parent
commit
7bffbc679f
2 changed files with 6 additions and 16 deletions
  1. 3 11
      buro/docker-compose.yml
  2. 3 5
      frontend/docker-compose.yml

+ 3 - 11
buro/docker-compose.yml

@@ -17,10 +17,6 @@ services:
         image: "hub.botprotec.com/botpro/botpro-bantrab-buro:${VERSION_TAG}"
         ports:
           - "${WEB_PORT}:8080"
-        networks:
-          default:
-            external:
-              name: backend_botpronet
     buro-worker:
         environment:
             settings_backend_url: "${SETTINGS_BACKEND_URL}"
@@ -32,15 +28,11 @@ services:
             db_migrate: "false"
             settings_cors_allowed: '["${FRONTEND_URL}", "http://localhost:9000"]'
         image: "hub.botprotec.com/botpro/botpro-bantrab-buro-worker:${VERSION_TAG}"
-        networks:
-          default:
-            external:
-              name: backend_botpronet
-        links:
-            - "db"
 
 networks:
-  botpronet:
+  default:
+    external:
+      name: backend_botpronet
 
 volumes:
     web-migrations:

+ 3 - 5
frontend/docker-compose.yml

@@ -6,10 +6,8 @@ services:
     image: "hub.botprotec.com/botpro/botpro-frontend:${VERSION_TAG}"
     ports:
       - "${WEB_PORT_FRONTEND}:80"
-    networks:
-      default:
-        external:
-          name: backend_botpronet
 
 networks:
-  botpronet:
+  default:
+    external:
+      name: backend_botpronet