chrly/docker-compose.yml

21 lines
316 B
YAML

version: '2'
services:
app:
build: .
links:
- redis
web:
build: ./docker/nginx
ports:
- "80:80"
links:
- app
volumes_from:
- app
redis:
image: redis:3.0
volumes:
- ./data/:/data