parsley/docker-compose-rlyeh.yml
2019-08-05 19:01:45 -05:00

30 lines
644 B
YAML

version: '3'
services:
memcache:
image: memcached:1.5.4-alpine
restart: unless-stopped
command: memcached -m 512
web:
image: registry.elbert.us/parsley:production
restart: unless-stopped
environment:
- RAILS_USE_MEMCACHE=true
- PASSENGER_APP_ENV=production
- RAILS_ENV=production
env_file: /etc/default/parsley
volumes:
- /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