thinkhy / deploy-stf-docker Goto Github PK
View Code? Open in Web Editor NEWScripts to deploy STF master server on Ubuntu with one-button operation
License: Apache License 2.0
Scripts to deploy STF master server on Ubuntu with one-button operation
License: Apache License 2.0
I try to reach nginx or stf-localhost but the result got 520, need your help.
Using default tag: latest
Warning: failed to get default registry endpoint from daemon (Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?). Using system default: https://index.docker.io/v1/
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
Failed to run last step!
I got this error
Is there an updated script that deploys the application installing its dependencies?
in all the scripts I have seen there were many problems with the node and nvm versions
With your script I get a blank page at localhost:3200/auth/mock.
Do I need to change something?
I tried to look into the stf logfiles but i dont know how I can find it inside the docker container.
And isnt the rethinkdb-proxy-28015.service required?
Thank You for the nice skript anyways!
Hello,
Thank you very much for sharing the script, it helps us a lot.
I can control OpenSTF in its development setup -- compile it from source, modify its code and run it with "stf local" command. Now, I want to deploy it in a more scalable setup and I find your script very helpful.
I run your script and all docker containers are up -- all logs show that the services are listening to correct ports. However, when I type localhost:3100 on my web browser, the authentication page is not loaded.
I check the logs of nginx web server and find that it can receive the request from web browser. Following line is the request.
10.0.2.15 - - [05/Nov/2017:13:50:55 +0000] "GET /auth/mock/ HTTP/1.1" 499 0 "-" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:56.0) Gecko/20100101 Firefox/56.0"
Could you please give me some suggestion to fix this problem. FYI, I am testing the setup on a VirtualBox VM running Ubuntu 16.04 64 bit.
Many thanks!
can you please check #line76 in the shell script I think there is some issue with the command. When I ran the script file it is showing error with the command. Attaching the error log and also an error in starting adbd.service(adbd.service is running actively in the background). unit not found but adbd.service is there in the /etc/systemd/system folder.
nginx service is running in the background as default after install nginx. Do I need to modify some files or do an additional thing before running the script to make it work?
Thanks for your scripts, it helped me a lot.
But after I built stf and visited the website, I found that my "APP upload" module couldn't work.
Here is my nginx logs:
192.168.1.202 - - [15/Aug/2017:07:01:30 +0000] "POST /s/upload/apk HTTP/1.1" 502 575 "http://192.168.1.154/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.90 Safari/537.36"
2017/08/15 07:01:30 [error] 7#7: *66 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.1.202, server: stf.test, request: "POST /s/upload/apk HTTP/1.1", upstream: "http://192.168.1.154:3500/s/upload/apk", host: "192.168.1.154", referrer: "http://192.168.1.154/"
Hope for your reply, thanks.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.