version: '3' services: memcache: image: memcached:1.5.4-alpine command: memcached -m 512 web: image: danelbert/parsley:production environment: - RAILS_USE_MEMCACHE=true - PASSENGER_APP_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