diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..d3a265d --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "dss.api"] + path = dss.api + url = git@github.com:fergalmoran/dss.api.git diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..62b374f --- /dev/null +++ b/docker-compose.yml @@ -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 diff --git a/dss.api b/dss.api new file mode 160000 index 0000000..a98f373 --- /dev/null +++ b/dss.api @@ -0,0 +1 @@ +Subproject commit a98f3731eed1b24acda1137d9994947f079e40be