Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
strudel2_backend
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
hpc-team
strudel2_backend
Commits
67e98e3a
Commit
67e98e3a
authored
6 years ago
by
Chris Hines
Browse files
Options
Downloads
Patches
Plain Diff
problems starting
parent
bee5348d
No related branches found
No related tags found
No related merge requests found
Pipeline
#6864
passed
6 years ago
Stage: build
Stage: deploy
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
Dockerfile
+2
-2
2 additions, 2 deletions
Dockerfile
TWS/twsproxy/__main__.py
+1
-1
1 addition, 1 deletion
TWS/twsproxy/__main__.py
runscript
+1
-1
1 addition, 1 deletion
runscript
with
4 additions
and
4 deletions
Dockerfile
+
2
−
2
View file @
67e98e3a
...
@@ -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"]
This diff is collapsed.
Click to expand it.
TWS/twsproxy/__main__.py
+
1
−
1
View file @
67e98e3a
...
@@ -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
()
This diff is collapsed.
Click to expand it.
runscript
+
1
−
1
View file @
67e98e3a
#!/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
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment