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.http.routers.parsley.rule: "Host(`parsley.elbert.us`)" traefik.http.routers.parsley.entrypoints: websecure traefik.http.routers.parsley.tls: "true" traefik.http.routers.parsley.tls.certResolver: cert-resolver networks: traefik: external: true