You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
451 B
YAML
30 lines
451 B
YAML
7 years ago
|
version: '3'
|
||
|
|
||
|
volumes:
|
||
|
deps:
|
||
|
bundle:
|
||
|
node_modules:
|
||
|
build:
|
||
|
|
||
|
services:
|
||
|
postgres:
|
||
|
image: postgres
|
||
|
|
||
|
redis:
|
||
|
image: redis
|
||
|
|
||
|
web:
|
||
|
build: .
|
||
|
image: asciinema/asciinema.org
|
||
|
command: mix test
|
||
|
links:
|
||
|
- redis
|
||
|
- postgres
|
||
|
env_file: .env
|
||
|
volumes:
|
||
|
- deps:/app/deps:cached
|
||
|
- bundle:/bundle:cached
|
||
|
- node_modules:/app/node_modules:cached
|
||
|
- build:/app/_build:cached
|
||
|
- ../:/app:cached
|