Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
nomad-lab
nomad-lab-base
Commits
0844d4aa
Commit
0844d4aa
authored
Dec 11, 2018
by
Mohamed, Fawzi Roberto (fawzi)
Browse files
production nexus
parent
0c767bd4
Pipeline
#40801
failed with stages
in 51 minutes and 33 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
KubernetesTemplate/kubernetes-nexus/deployment-nexus-labtest-nomad.yaml
0 → 100644
View file @
0844d4aa
apiVersion
:
extensions/v1beta1
kind
:
Deployment
metadata
:
name
:
nexus
spec
:
replicas
:
1
template
:
metadata
:
labels
:
app
:
nexus
spec
:
containers
:
-
image
:
sonatype/nexus3
imagePullPolicy
:
Always
name
:
nexus
###define environment for nexus(be consist with inspect nexus)
env
:
-
name
:
NEXUS_CONTEXT
value
:
nexus
ports
:
# ports exposed for nexus itself(8081) and docker registry(5509)
-
containerPort
:
8081
-
containerPort
:
5509
volumeMounts
:
-
mountPath
:
/nexus-data
name
:
nexus-data-volume
volumes
:
-
name
:
nexus-data-volume
hostPath
:
path
:
/nomad/nomadlab/servers/labtest-nomad/nexus/nexus-data
Write
Preview
Supports
Markdown
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