Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
warehouse-management
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
1
Merge Requests
1
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
Ascend
warehouse-management
Commits
691e3b13
Commit
691e3b13
authored
May 13, 2021
by
Alex Pinto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
initial commit for deploy
parent
97c61015
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
47 additions
and
2 deletions
+47
-2
deployment.yaml
deployment.yaml
+42
-0
application.properties
src/main/resources/application.properties
+5
-2
No files found.
deployment.yaml
0 → 100644
View file @
691e3b13
apiVersion
:
apps/v1
kind
:
Deployment
metadata
:
name
:
afp-warehouse-management-deployment
spec
:
replicas
:
2
selector
:
matchLabels
:
app
:
afp-warehouse-management
template
:
metadata
:
labels
:
app
:
afp-warehouse-management
spec
:
containers
:
-
name
:
afp-warehouse-management-container
image
:
nexus.mynisum.com/afp-warehouse-management-backend:3
imagePullPolicy
:
Always
ports
:
-
containerPort
:
8088
env
:
-
name
:
PORT
value
:
"
8080"
-
name
:
MONGOCONNECTION
valueFrom
:
secretKeyRef
:
name
:
mongodb-secret
key
:
spring.data.mongodb.uri
imagePullSecrets
:
-
name
:
registry-creds
---
apiVersion
:
v1
kind
:
Service
metadata
:
name
:
afp-warehouse-management-service
spec
:
type
:
LoadBalancer
ports
:
-
port
:
8088
targetPort
:
8088
selector
:
app
:
afp-warehouse-management
\ No newline at end of file
src/main/resources/application.properties
View file @
691e3b13
spring.data.mongodb.uri
=
mongodb+srv://warehouse1:ascendWarehouseProject@warehouse-cluster.xopll.mongodb.net/myFirstDatabase?retryWrites=true&w=majority
spring.data.mongodb.uri
=
${MONGOCONNECTION}
spring.data.mongodb.database
=
test
spring.data.mongodb.database
=
warehouse-management-db
security.enable-csrf
=
false
server.port
=
8080
kafka.producer.bootstrap-servers
:
localhost:9092
kafka.producer.bootstrap-servers
:
localhost:9092
...
...
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