Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
R
Requirement Formalization Tool
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Thodoris Nestoridis
Requirement Formalization Tool
Commits
0b415de0
Commit
0b415de0
authored
Mar 09, 2023
by
Thodoris Nestoridis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
docker
parent
bf053d5f
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
2 deletions
+17
-2
README.md
reqtool/reqman/README.md
+9
-0
Dockerfile.api
reqtool/reqman/build/Dockerfile.api
+2
-2
docker-compose-api.yml
reqtool/reqman/build/docker-compose-api.yml
+6
-0
No files found.
reqtool/reqman/README.md
View file @
0b415de0
...
...
@@ -18,3 +18,12 @@ will run all needed services and API (backend application)
then connect to the docker container (the current name of container is "build_api_reqman_1") to create the super user
`sudo docker exec -it build_api_reqman_1 /bin/bash `
Problem with Fuseki, need to run:
docker exec -it fuseki bash
:/jena-fuseki# apt-get update
:/jena-fuseki# apt-get install -y procps
:/jena-fuseki# exit
reqtool/reqman/build/Dockerfile.api
View file @
0b415de0
...
...
@@ -15,7 +15,7 @@ RUN apt-get update && \
RUN mkdir Ontologies
WORKDIR /Ontologies
COPY Ontologies/ /Ontologies/
#
COPY Ontologies/ /Ontologies/
WORKDIR /api
...
...
@@ -39,4 +39,4 @@ EXPOSE 8000
RUN ["pwd"]
RUN ["ls", "-l"]
CMD ["gunicorn", "reqman.wsgi", "-b", "0.0.0.0:8000", "--timeout", "720"]
\ No newline at end of file
CMD ["gunicorn", "reqman.wsgi", "-b", "0.0.0.0:8000", "--timeout", "720", "-w", "2", "--threads", "4"]
\ No newline at end of file
reqtool/reqman/build/docker-compose-api.yml
View file @
0b415de0
...
...
@@ -21,6 +21,8 @@ services:
context
:
..
dockerfile
:
build/Dockerfile.api
env_file
:
../api/.env
volumes
:
-
./data/Ontologies:/Ontologies
depends_on
:
-
postgres
environment
:
...
...
@@ -40,14 +42,18 @@ services:
ports
:
-
"
5432:5432"
fuseki
:
restart
:
always
image
:
stain/jena-fuseki
environment
:
-
ADMIN_PASSWORD=pw!!!
volumes
:
-
./data/fuseki:/fuseki
expose
:
-
"
3030"
volumes
:
reqman-pgdata
:
reqman-elasticdata
:
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment