Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
docker-tutorial
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
docker-tutorial
docker-tutorial
Commits
0756133a
Commit
0756133a
authored
Mar 03, 2023
by
Sanjay Pant
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update Docker and Docker compose file
parent
cc6054a6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
3 deletions
+8
-3
Dockerfile
qna_app_redis/Dockerfile
+2
-2
docker-compose.yml
qna_app_redis/docker-compose.yml
+6
-1
No files found.
qna_app_redis/Dockerfile
View file @
0756133a
...
...
@@ -13,4 +13,4 @@ COPY . .
# The command that will be executed when a container is run from the image
ENTRYPOINT
["python", "app_redis.py"]
\ No newline at end of file
ENTRYPOINT
["python", "app.py"]
\ No newline at end of file
qna_app_redis/docker-compose.yml
View file @
0756133a
...
...
@@ -5,7 +5,7 @@ services:
container_name
:
gradiov1
build
:
context
:
.
dockerfile
:
Dockerfile
_Redis
dockerfile
:
Dockerfile
ports
:
-
"
80:8081"
...
...
@@ -22,3 +22,7 @@ services:
volumes
:
-
./data:/data
command
:
redis-server --appendonly yes --dir /data
volumes
:
data
:
\ No newline at end of file
Write
Preview
Markdown
is supported
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