Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
minecraft_mobs_M165
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
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
Mica Mutti
minecraft_mobs_M165
Commits
9989dc97
Commit
9989dc97
authored
2 weeks ago
by
Lukas Bühlmann
Browse files
Options
Downloads
Patches
Plain Diff
Added docker-compose file
parent
cabf1740
Branches
main
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
docker-compose.yml
+45
-0
45 additions, 0 deletions
docker-compose.yml
with
45 additions
and
0 deletions
docker-compose.yml
0 → 100644
+
45
−
0
View file @
9989dc97
version
:
'
3.8'
services
:
mongo1
:
image
:
mongo:latest
container_name
:
mongo1
command
:
[
"
mongod"
,
"
--replSet"
,
"
rs0"
,
"
--bind_ip_all"
]
ports
:
-
"
27017:27017"
networks
:
-
mongo-cluster
volumes
:
-
mongo1_data:/data/db
mongo2
:
image
:
mongo:latest
container_name
:
mongo2
command
:
[
"
mongod"
,
"
--replSet"
,
"
rs0"
,
"
--bind_ip_all"
]
ports
:
-
"
27018:27017"
networks
:
-
mongo-cluster
volumes
:
-
mongo2_data:/data/db
mongo3
:
image
:
mongo:latest
container_name
:
mongo3
command
:
[
"
mongod"
,
"
--replSet"
,
"
rs0"
,
"
--bind_ip_all"
]
ports
:
-
"
27019:27017"
networks
:
-
mongo-cluster
volumes
:
-
mongo3_data:/data/db
# Netzwerke außerhalb der services-Sektion!
networks
:
mongo-cluster
:
# Volumes außerhalb der services-Sektion!
volumes
:
mongo1_data
:
mongo2_data
:
mongo3_data
:
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