first commit

This commit is contained in:
Senad Uka
2017-11-07 09:23:57 +01:00
commit 0eee92660a
356 changed files with 747259 additions and 0 deletions

23
docker-compose.yml Normal file
View File

@@ -0,0 +1,23 @@
version: '2'
services:
helix:
build: .
# ports:
# - "5000:5000" # flask server
# - "2222:2222" # ssh
volumes:
- .:/code
- /code/node_modules # http://jdlm.info/articles/2016/03/06/lessons-building-node-app-docker.html
network_mode: host
db:
build:
context: .
dockerfile: Dockerfile.db
volumes:
- /docker_data_volume/helix_roof_calculator_db:/var/lib/postgresql/data
network_mode: host
cache:
image: redis:3.2.4
volumes:
- /docker_data_volume/helix_roof_calculator_cache:/data
network_mode: host