Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
V
VAPORMAP-CI
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
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
NOUFE Sie Schadrac
VAPORMAP-CI
Commits
1cb0bdef
Commit
1cb0bdef
authored
2 years ago
by
NOUFE Sie Schadrac
Browse files
Options
Downloads
Patches
Plain Diff
second commmit
parent
1b9cae2b
No related branches found
No related tags found
No related merge requests found
Pipeline
#7125
passed
2 years ago
Stage: build
Changes
3
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
API_PROD/Dockerfile
+9
-2
9 additions, 2 deletions
API_PROD/Dockerfile
FRONTEND_PROD/Dockerfile
+8
-1
8 additions, 1 deletion
FRONTEND_PROD/Dockerfile
docker-compose.yaml
+7
-9
7 additions, 9 deletions
docker-compose.yaml
with
24 additions
and
12 deletions
API_PROD/Dockerfile
+
9
−
2
View file @
1cb0bdef
...
...
@@ -11,6 +11,14 @@ RUN apt update; \
chmod
+x /bin/entrypoint.sh
ENV
VAPOR_DBNAME=db_vapormap
ENV
VAPOR_DBUSER=user_vapormap
ENV
VAPOR_DBPASS=vapormap
ENV
VAPOR_DBHOST=db
ENV
PYTHONPATH=/API_PROD/app
ENV
SETTINGS_FILE=production
EXPOSE
5000
WORKDIR
/API_PROD/app/api
...
...
@@ -20,4 +28,3 @@ CMD ["gunicorn", "--bind","0.0.0.0:5000", "wsgi:app"]
This diff is collapsed.
Click to expand it.
FRONTEND_PROD/Dockerfile
+
8
−
1
View file @
1cb0bdef
...
...
@@ -7,6 +7,13 @@ RUN apt update \
&&
apt
-y
install
gettext-base
ENV
VAPORMAP_BACKEND=localhost
ENV
VAPORMAP_BACKEND_PORT=5000
ENV
VAPORMAP_URL_SERVERNAME=0.0.0.0
ENV
VAPORMAP_URL_PORT=8000
ENV
VAPORMAP_FRONTEND_ROOT=/FRONTEND_prod/frontend
EXPOSE
80
RUN
envsubst
'${VAPORMAP_BACKEND},${VAPORMAP_BACKEND_PORT}'
< config.json.template
>
config.json
...
...
This diff is collapsed.
Click to expand it.
docker-compose.yaml
+
7
−
9
View file @
1cb0bdef
...
...
@@ -2,7 +2,7 @@ version: "3.8"
services
:
db
:
image
:
mariadb:10.3.31
image
:
gitlab-registry.imt-atlantique.fr/s22noufe/vapormap-ci/mariadb
environment
:
-
MARIADB_ROOT_PASSWORD=vapormap
-
MARIADB_ROOT_HOST=db
...
...
@@ -14,8 +14,7 @@ services:
-
"
3306:3306"
api
:
build
:
./API_PROD
image
:
api_prod
image
:
gitlab-registry.imt-atlantique.fr/s22noufe/vapormap-ci/api_prod
environment
:
-
VAPOR_DBNAME=db_vapormap
-
VAPOR_DBUSER=user_vapormap
...
...
@@ -29,8 +28,8 @@ services:
-
db
front
:
build
:
./FRONTEND_PROD
image
:
front
end
_prod
image
:
gitlab-registry.imt-atlantique.fr/s22noufe/vapormap-ci/
front_prod
environment
:
-
VAPORMAP_BACKEND=localhost
-
VAPORMAP_BACKEND_PORT=5000
...
...
@@ -46,4 +45,3 @@ services:
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