Toggle navigation
Toggle navigation
This project
Loading...
Sign in
201side
/
floater
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
3
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
robin*
2020-12-09 11:41:17 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
21d41a584d9b391eaf42b0454b5d7e0614db048a
21d41a58
1 parent
815bcaaf
컴포즈 / k8s용 yml파일 추가
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
31 additions
and
1 deletions
docker-compose.yml
service.yml
docker-compose.yml
View file @
21d41a5
...
...
@@ -2,5 +2,13 @@ version: '3'
services
:
db
:
image
:
'
mongo:3.6'
volumes
:
-
./mongo-data:/data/db
app
:
image
:
registry.gitlab.com/robin-maki/floater
ports
:
-
'
27017:27017'
\ No newline at end of file
-
'
3429:3429'
links
:
-
db
environment
:
-
MONGODB_URL=db/floater
\ No newline at end of file
...
...
service.yml
0 → 100644
View file @
21d41a5
apiVersion
:
v1
kind
:
Deployment
metadata
:
name
:
assignments-3rd
spec
:
template
:
spec
:
containers
:
-
name
:
db
image
:
mongo:3.6
metadata
:
-
name
:
mongodb
ports
:
-
name
:
mongo-port
protocol
:
TCP
port
:
27017
targetPort
:
27017
-
name
:
floater
image
:
registry.gitlab.com/robin-maki/floater:latest
env
:
-
name
:
MONGODB_URL
value
:
"
mongodb/floater"
\ No newline at end of file
Please
register
or
login
to post a comment