Files
old-krovovi-kalkulator/docker-compose.yml

24 lines
582 B
YAML
Raw Permalink Normal View History

2017-11-07 09:23:57 +01:00
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