Make environment ready for Docker
This commit is contained in:
parent
362ad579d5
commit
dc9f30affe
|
@ -3,11 +3,13 @@ version: "2"
|
||||||
services:
|
services:
|
||||||
app:
|
app:
|
||||||
image: pathogen/neptune
|
image: pathogen/neptune
|
||||||
build: .
|
build: ./docker
|
||||||
volumes:
|
volumes:
|
||||||
- .:/code
|
- ${PORTAINER_GIT_DIR}:/code
|
||||||
ports:
|
ports:
|
||||||
- "8000:8000"
|
- "${NEPTUNE_PORT}:8000"
|
||||||
|
env_file:
|
||||||
|
- .env
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
default:
|
default:
|
||||||
|
|
|
@ -0,0 +1,17 @@
|
||||||
|
version: "2"
|
||||||
|
|
||||||
|
services:
|
||||||
|
app:
|
||||||
|
image: pathogen/neptune
|
||||||
|
build: ./docker
|
||||||
|
volumes:
|
||||||
|
- ${PORTAINER_GIT_DIR}:/code
|
||||||
|
ports:
|
||||||
|
- "${NEPTUNE_PORT}:8000"
|
||||||
|
env_file:
|
||||||
|
- ../stack.env
|
||||||
|
|
||||||
|
networks:
|
||||||
|
default:
|
||||||
|
external:
|
||||||
|
name: pathogen
|
|
@ -0,0 +1,8 @@
|
||||||
|
wheel
|
||||||
|
django
|
||||||
|
django-crispy-forms
|
||||||
|
crispy-bulma
|
||||||
|
opensearch-py
|
||||||
|
stripe
|
||||||
|
django-rest-framework
|
||||||
|
numpy
|
Loading…
Reference in New Issue