parsley/docker-compose-rlyeh.yml

31 lines
644 B
YAML
Raw Normal View History

2018-06-09 13:42:38 -05:00
version: '3'
services:
2018-06-09 13:42:38 -05:00
memcache:
image: memcached:1.5.4-alpine
2018-07-22 14:51:02 -05:00
restart: unless-stopped
2018-06-09 13:42:38 -05:00
command: memcached -m 512
web:
2018-07-22 16:15:53 -05:00
image: registry.elbert.us/parsley:production
2018-07-22 14:51:02 -05:00
restart: unless-stopped
ports:
- "7000:80"
environment:
2018-06-09 13:42:38 -05:00
- RAILS_USE_MEMCACHE=true
- PASSENGER_APP_ENV=production
env_file: /etc/default/parsley
volumes:
2018-07-10 10:31:43 -05:00
- /var/log/parsley/:/home/app/parsley/log
networks:
- default
- traefik
labels:
traefik.enable: 'true'
traefik.frontend.rule: 'Host:parsley.elbert.us'
traefik.docker.network: traefik
networks:
traefik:
external: true