Skip to content
Snippets Groups Projects
Commit 67e98e3a authored by Chris Hines's avatar Chris Hines
Browse files

problems starting

parent bee5348d
No related branches found
No related tags found
No related merge requests found
Pipeline #6864 passed
...@@ -6,10 +6,10 @@ RUN apt install -y python3 gcc python3-pip ...@@ -6,10 +6,10 @@ RUN apt install -y python3 gcc python3-pip
RUN pip3 install -r requirements.txt RUN pip3 install -r requirements.txt
RUN pwd RUN pwd
RUN ls RUN ls
RUN python3 ./TES/setup.py install RUN cd TES ; python3 ./setup.py install
RUN pwd RUN pwd
RUN ls RUN ls
RUN python3 ./TWS/setup.py install RUN cd TWS ; python3 ./setup.py install
EXPOSE 8080 EXPOSE 8080
EXPOSE 8090 EXPOSE 8090
CMD ["./runscript"] CMD ["./runscript"]
...@@ -7,5 +7,5 @@ import sys ...@@ -7,5 +7,5 @@ import sys
port = sys.argv[1] port = sys.argv[1]
logger.debug("starting TWS proxy") logger.debug("starting TWS proxy")
print("starting TWS proxy") print("starting TWS proxy")
server = server.TWSServer(port) server = server.TWSServer(port,5)
server.run() server.run()
#!/bin/bash #!/bin/bash
twsproxy 8090 &
uwsgi \ uwsgi \
--socket 0.0.0.0:8080 \ --socket 0.0.0.0:8080 \
--buffer-size 65536 \ --buffer-size 65536 \
...@@ -7,4 +6,5 @@ uwsgi \ ...@@ -7,4 +6,5 @@ uwsgi \
--threads 8 \ --threads 8 \
--protocol=http \ --protocol=http \
-w tes.tes_wsgi & -w tes.tes_wsgi &
twsproxy 8090
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment