Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
K
KawowyDzienniczek
Project
Project
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
Rafal
KawowyDzienniczek
Commits
b3d10a77
Commit
b3d10a77
authored
Sep 15, 2016
by
lizonr1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add docker
parent
795f84f4
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
29 additions
and
4 deletions
+29
-4
.gitignore
.gitignore
+0
-4
Dockerfile
Dockerfile
+16
-0
docker-compose.yml
docker-compose.yml
+13
-0
No files found.
.gitignore
View file @
b3d10a77
...
@@ -49,10 +49,6 @@ coverage.xml
...
@@ -49,10 +49,6 @@ coverage.xml
# Sphinx documentation
# Sphinx documentation
docs/_build/
docs/_build/
# Docker
docker-compose.ymk
Dockerfile
# Logs stuff
# Logs stuff
*.out
*.out
migrations/
migrations/
\ No newline at end of file
Dockerfile
0 → 100644
View file @
b3d10a77
FROM
python:3.4
MAINTAINER
rafal
RUN
mkdir
/project
WORKDIR
/project
ADD
requirements.txt /project/
RUN
pip
install
-r
requirements.txt
ADD
. /project/
RUN
pip
install
-r
requirements.txt
WORKDIR
/project/KawowyDzienniczek
CMD
[ "python3", "manage.py", "runserver"]
EXPOSE
8000
\ No newline at end of file
docker-compose.yml
0 → 100644
View file @
b3d10a77
version
:
'
2'
services
:
db
:
image
:
postgres
web
:
build
:
.
command
:
python3 manage.py runserver 0.0.0.0:8000
volumes
:
-
.:/project
ports
:
-
"
8000:8000"
depends_on
:
-
db
\ 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