parsley/docker-compose.yml

28 lines
485 B
YAML
Raw Permalink Normal View History

2018-03-30 14:31:09 -05:00
version: '3'
2016-01-18 20:50:19 -06:00
2016-07-08 11:17:42 -05:00
services:
postgres:
image: postgres:9.3
environment:
- POSTGRES_PASSWORD=mysecretpassword
- POSTGRES_USER=parsley
volumes:
- sql-data:/var/lib/postgresql/data
2018-04-02 11:21:35 -05:00
memcache:
image: memcached:1.5.4-alpine
command: memcached -m 512
2016-07-08 11:17:42 -05:00
web:
build: .
2018-04-02 11:21:35 -05:00
environment:
- RAILS_USE_MEMCACHE=true
- RAILS_LOG_TO_STDOUT=true
2016-07-08 11:17:42 -05:00
ports:
- "3000:80"
links:
- postgres
2018-04-02 11:21:35 -05:00
2016-07-08 11:17:42 -05:00
volumes:
sql-data:
driver: local