Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
quant
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
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
Code review analytics
Issue analytics
Insights
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
danet
quant
Commits
012befce
Commit
012befce
authored
1 year ago
by
Neil-Jocelyn Schark
Browse files
Options
Downloads
Patches
Plain Diff
add mongodb to docker-compose
parent
a7726824
No related branches found
No related tags found
1 merge request
!71
Draft: Resolve "Create DB connection instead of using memory only"
Pipeline
#187640
passed
1 year ago
Stage: build
Stage: test
Stage: analyze
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
docker-compose.yml
+21
-0
21 additions, 0 deletions
docker-compose.yml
docker-compose_integration_test.yml
+17
-0
17 additions, 0 deletions
docker-compose_integration_test.yml
with
38 additions
and
0 deletions
docker-compose.yml
+
21
−
0
View file @
012befce
...
@@ -35,6 +35,24 @@ services:
...
@@ -35,6 +35,24 @@ services:
ekms-net
:
ekms-net
:
ipv4_address
:
172.100.20.13
ipv4_address
:
172.100.20.13
mongodb
:
image
:
mongo:7
environment
:
MONGO_INITDB_ROOT_USERNAME
:
root
MONGO_INITDB_ROOT_PASSWORD
:
example
volumes
:
-
mongo-volume:/data/db
mongo-express
:
image
:
mongo-express:1
ports
:
-
127.0.0.1:8088:8081
environment
:
ME_CONFIG_MONGODB_ADMINUSERNAME
:
root
ME_CONFIG_MONGODB_ADMINPASSWORD
:
example
ME_CONFIG_MONGODB_SERVER
:
mongodb
ME_CONFIG_BASICAUTH_USERNAME
:
'
'
ME_CONFIG_BASICAUTH_PASSWORD
:
'
'
qlayer01
:
qlayer01
:
image
:
quantumlayer
image
:
quantumlayer
...
@@ -128,3 +146,6 @@ networks:
...
@@ -128,3 +146,6 @@ networks:
config
:
config
:
-
subnet
:
"
172.100.20.0/24"
-
subnet
:
"
172.100.20.0/24"
name
:
ekms-net
name
:
ekms-net
volumes
:
mongo-volume
:
This diff is collapsed.
Click to expand it.
docker-compose_integration_test.yml
+
17
−
0
View file @
012befce
...
@@ -37,3 +37,20 @@ services:
...
@@ -37,3 +37,20 @@ services:
image
:
akms-simulator
image
:
akms-simulator
ports
:
ports
:
-
"
127.0.0.1:4445:4444"
-
"
127.0.0.1:4445:4444"
mongodb
:
image
:
mongo:7
environment
:
MONGO_INITDB_ROOT_USERNAME
:
root
MONGO_INITDB_ROOT_PASSWORD
:
example
mongo-express
:
image
:
mongo-express:latest
ports
:
-
127.0.0.1:8088:8081
environment
:
ME_CONFIG_MONGODB_ADMINUSERNAME
:
root
ME_CONFIG_MONGODB_ADMINPASSWORD
:
example
ME_CONFIG_MONGODB_SERVER
:
mongodb
ME_CONFIG_BASICAUTH_USERNAME
:
'
'
ME_CONFIG_BASICAUTH_PASSWORD
:
'
'
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