parsley/docker-compose.yml

39 lines
686 B
YAML
Raw 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: .
2019-03-23 13:45:39 -05:00
image: registry.elbert.us/parsley:latest
2020-05-02 14:12:04 -05:00
command: web
ports:
- "3000:80"
links:
- app
app:
build: .
image: registry.elbert.us/parsley:latest
command: app
2018-04-02 11:21:35 -05:00
environment:
2020-05-02 14:12:04 -05:00
- PORT=80
2018-04-02 11:21:35 -05:00
- RAILS_USE_MEMCACHE=true
- RAILS_LOG_TO_STDOUT=true
2016-07-08 11:17:42 -05:00
links:
- postgres
2020-05-02 14:12:04 -05:00
- memcache
2018-04-02 11:21:35 -05:00
2016-07-08 11:17:42 -05:00
volumes:
sql-data:
driver: local