Quellcode durchsuchen

Fix reference issues

Arkadiusz Ryś vor 2 Jahren
Ursprung
Commit
1ac06d101f
3 geänderte Dateien mit 26 neuen und 75 gelöschten Zeilen
  1. 3 0
      README.rst
  2. 0 0
      config/fuseki.env
  3. 23 75
      docker-compose.yml

+ 3 - 0
README.rst

@@ -5,3 +5,6 @@ Deployer
    I am become boredom, the deployer of tools.
 
 Tool to easily deploy a demo for FlandersMake Digital Twin Design project Work Package 2.
+
+
+docker network create --subnet=172.40.0.0/16 local

fuseki.env → config/fuseki.env


+ 23 - 75
docker-compose.yml

@@ -5,81 +5,45 @@ services:
     image: registry.rys.one/dtdesign/fuseki
     container_name: fuseki
     networks:
-      web:
-        ipv4_address: 172.30.200.10
-    dns:
-      - 192.168.0.11
-      - 1.1.1.1
-      - 1.0.0.1
-      - 8.8.8.8
-      - 8.8.4.4
-    labels:
-      - "traefik.enable=true"
-      - "traefik.http.routers.fuseki.entrypoints=web-secure"
-      - "traefik.http.routers.fuseki.rule=Host(`fuseki.rys.app`)"
-      - "traefik.http.routers.fuseki.tls.certresolver=letsencrypt"
-      - "traefik.http.routers.fuseki.service=fuseki-svc"
-      - "traefik.http.services.fuseki-svc.loadbalancer.server.port=3030"
-      - "diun.enable=true"
-      - "diun.watch_repo=true"
+      local:
+        ipv4_address: 172.40.200.10
+    ports:
+      - "3030:3030"
     restart: unless-stopped
     volumes:
       - "./fuseki:/fuseki"
       - "./fuseki-extra:/fuseki-extra"
     env_file:
-      - "fuseki.env"
+      - "./config/fuseki.env"
 
   spendpoint:
     image: registry.rys.one/dtdesign/spendpoint
     container_name: spendpoint
     networks:
-      web:
-        ipv4_address: 172.30.200.20
-    dns:
-      - 192.168.0.11
-      - 1.1.1.1
-      - 1.0.0.1
-      - 8.8.8.8
-      - 8.8.4.4
-    labels:
-#      - "traefik.enable=true"
-#      - "traefik.http.routers.spendpoint.entrypoints=web-secure"
-#      - "traefik.http.routers.spendpoint.rule=Host(`ontology.rys.app`) && PathPrefix(`/sparql/`)"
-#      - "traefik.http.routers.spendpoint.rule=Host(`ontology.rys.app`)"
-#      - "traefik.http.routers.spendpoint.tls.certresolver=letsencrypt"
-#      - "traefik.http.routers.spendpoint.service=spendpoint-svc"
-#      - "traefik.http.services.spendpoint-svc.loadbalancer.server.port=80"
-      - "diun.enable=true"
-    depends_on:
-      - models
+      local:
+        ipv4_address: 172.40.200.20
+#    depends_on:
+#      - models
     restart: unless-stopped
     volumes:
-      - "./build:/app/build:ro"
-    env_file:
-      - "./config/spendpoint.env"
+      - "./data:/app/data:ro"
+#    env_file:
+#      - "./config/spendpoint.env"
 
-  outlier:
-    image: registry.rys.one/dtdesign/dtdesign/outlier
-    container_name: outlier
+  outliers:
+    image: registry.rys.one/dtdesign/dtdesign/outliers:main
+    container_name: outliers
     networks:
-      web:
-        ipv4_address: 172.30.200.50
-    dns:
-      - 192.168.0.11
-      - 1.1.1.1
-      - 1.0.0.1
-      - 8.8.8.8
-      - 8.8.4.4
-    labels:
-      - "diun.enable=true"
+      local:
+        ipv4_address: 172.40.200.50
     restart: unless-stopped
     volumes:
-      - "./data:/app/data"
-    env_file:
-      - "./config/outlier.env"
+      - "./data:/app/data:ro"
+#    env_file:
+#      - "./config/outlier.env"
 
 networks:
-  web:
+  local:
     external: true
 
 #  models:
@@ -87,15 +51,7 @@ networks:
 #    container_name: models
 #    networks:
 #      web:
-#        ipv4_address: 172.30.200.10
-#    dns:
-#      - 192.168.0.11
-#      - 1.1.1.1
-#      - 1.0.0.1
-#      - 8.8.8.8
-#      - 8.8.4.4
-#    labels:
-#      - "diun.enable=true"
+#        ipv4_address: 172.40.200.10
 #    restart: unless-stopped
 #    volumes:
 #      - "./build:/app/build"
@@ -107,15 +63,7 @@ networks:
 #    container_name: graph-exploring-tool
 #    networks:
 #      web:
-#        ipv4_address: 172.30.200.30
-#    dns:
-#      - 192.168.0.11
-#      - 1.1.1.1
-#      - 1.0.0.1
-#      - 8.8.8.8
-#      - 8.8.4.4
-#    labels:
-#      - "diun.enable=true"
+#        ipv4_address: 172.40.200.30
 #    depends_on:
 #      - models
 #      - spendpoint