mirror of
https://github.com/fergalmoran/dss.docker.git
synced 2026-02-06 15:57:28 +00:00
Added compose and modules
This commit is contained in:
3
.gitmodules
vendored
Normal file
3
.gitmodules
vendored
Normal 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
24
docker-compose.yml
Normal 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
1
dss.api
Submodule
Submodule dss.api added at a98f3731ee
Reference in New Issue
Block a user