asciinema.org/dev/docker-compose.yml

44 lines
816 B
YAML
Raw Normal View History

2017-05-02 15:06:29 +00:00
version: '3'
volumes:
bundle:
m2:
node_modules:
build:
2017-05-02 15:06:29 +00:00
services:
postgres:
image: postgres
container_name: asciinema_dev_postgres
redis:
image: redis
container_name: asciinema_dev_redis
smtp:
image: namshi/smtp
container_name: asciinema_dev_smtp
web:
build: .
image: asciinema/asciinema.org
container_name: asciinema_dev_web
command: /bin/bash
links:
- redis
- postgres
- smtp
env_file: .env.development
ports:
- 3000:3000
- 4000:4000
volumes:
- ../uploads:/app/uploads:cached
- ../deps:/app/deps:cached
2017-05-02 15:06:29 +00:00
- bundle:/bundle:cached
- node_modules:/app/node_modules:cached
- build:/app/_build:cached
2017-05-02 15:06:29 +00:00
- m2:/root/.m2:cached
- ../:/app:cached
2017-05-27 08:46:50 +00:00
- /tmp/asciinema-web:/tmp