Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
D
Daily Thought App
Manage
Activity
Members
Labels
Plan
Issues
4
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Package 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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
COM3014-Coursework
Daily Thought App
Commits
232a7d5d
Commit
232a7d5d
authored
2 years ago
by
Felipe D'Abrantes
Browse files
Options
Downloads
Patches
Plain Diff
Add Dockerisation files
parent
3be4b264
No related branches found
Branches containing commit
No related tags found
1 merge request
!10
Initialise a Scala Play project with a MongoDB controller for Feed Service
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
backend-services/feed-service/Dockerfile
+9
-0
9 additions, 0 deletions
backend-services/feed-service/Dockerfile
backend-services/feed-service/build.sbt
+1
-1
1 addition, 1 deletion
backend-services/feed-service/build.sbt
docker-compose.yml
+9
-0
9 additions, 0 deletions
docker-compose.yml
with
19 additions
and
1 deletion
backend-services/feed-service/Dockerfile
0 → 100644
+
9
−
0
View file @
232a7d5d
FROM
sbtscala/scala-sbt:eclipse-temurin-focal-11.0.17_8_1.8.2_2.13.10
WORKDIR
/feed-service/app
ADD
. .
EXPOSE
9000
CMD
sbt run
This diff is collapsed.
Click to expand it.
backend-services/feed-service/build.sbt
+
1
−
1
View file @
232a7d5d
name
:=
"""feed-service"""
organization
:=
"com.daily"
version
:=
"1.0
-SNAPSHOT
"
version
:=
"1.0
.0
"
lazy
val
root
=
(
project
in
file
(
"."
)).
enablePlugins
(
PlayScala
)
...
...
This diff is collapsed.
Click to expand it.
docker-compose.yml
0 → 100644
+
9
−
0
View file @
232a7d5d
version
:
"
3.9"
services
:
feed-service
:
build
:
context
:
'
./backend-services/feed-service'
dockerfile
:
Dockerfile
restart
:
unless-stopped
ports
:
-
"
9001:9000"
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