Create docker subfolder in build/ & deployments/

pull/18/head
Aloïs Micard 4 years ago
parent 98bd85e0c4
commit 52c2bc2ded
No known key found for this signature in database
GPG Key ID: 1A0EB82F071F5EFE

@ -22,6 +22,7 @@ Since the docker image are not available yet, one must run the following script
# How to start the crawler # How to start the crawler
Execute the ``/scripts/start.sh`` and wait for all containers to start. Execute the ``/scripts/start.sh`` and wait for all containers to start.
You can start the crawler in detached mode by passing --detach to start.sh
## Note ## Note
@ -37,8 +38,9 @@ feeder --api-uri http://localhost:15005 --url https://www.facebookcorewwwi.onion
this will 'force' the API to publish given URL in crawling queue. this will 'force' the API to publish given URL in crawling queue.
## How to access the Kibana UI ## How to view results
Now head out to http://localhost:15004 At the moment there is no Trandoshan dashboard.
You can use the Kibana dashboard available at http://localhost:15004.
You will need to create an index pattern named 'resources', and when it asks for the time field, choose 'time'. You will need to create an index pattern named 'resources', and when it asks for the time field, choose 'time'.

@ -1,7 +1,7 @@
#!/bin/bash #!/bin/bash
# build processes # build docker images
for path in build/Dockerfile-*; do for path in build/docker/Dockerfile-*; do
name=$(echo "$path" | cut -d'-' -f2) name=$(echo "$path" | cut -d'-' -f2)
docker build . -f "$path" -t "trandoshan.io/$name" docker build . -f "$path" -t "trandoshan.io/$name"
done done

@ -1,3 +1,3 @@
#!/bin/bash #!/bin/bash
./scripts/exec.sh down ./scripts/exec.sh down "$@"

@ -1,3 +1,3 @@
#!/bin/bash #!/bin/bash
docker-compose -f deployments/docker-compose.yml $@ docker-compose -f deployments/docker/docker-compose.yml "$@"

@ -1,3 +1,3 @@
#!/bin/bash #!/bin/bash
./scripts/exec.sh logs $@ ./scripts/exec.sh logs "$@"

@ -1,3 +1,3 @@
#!/bin/bash #!/bin/bash
./scripts/exec.sh ps ./scripts/exec.sh ps "$@"

@ -1,3 +1,3 @@
#!/bin/bash #!/bin/bash
./scripts/exec.sh up ./scripts/exec.sh up "$@"

Loading…
Cancel
Save