Added compose and modules

This commit is contained in:
Fergal Moran
2015-07-24 19:36:09 +01:00
parent 7ac452f335
commit 2b166b7c21
3 changed files with 28 additions and 0 deletions

3
.gitmodules vendored Normal file
View File

@@ -0,0 +1,3 @@
[submodule "dss.api"]
path = dss.api
url = git@github.com:fergalmoran/dss.api.git

24
docker-compose.yml Normal file
View File

@@ -0,0 +1,24 @@
api:
restart: always
build: ./dss.api
ports:
- "8000:8000"
links:
- postgres:postgres
env_file: .env
#command: /usr/local/bin/gunicorn dss.wsgi:application -w 2 -b :8000
command: python manage.py runserver_plus 0.0.0.0:8000
postgres:
restart: always
image: postgres:latest
volumes_from:
- data
ports:
- "5432:5432"
data:
restart: no
image: postgres:latest
volumes:
- /var/lib/postgresql
command: /bin/true

1
dss.api Submodule

Submodule dss.api added at a98f3731ee