31 lines
635 B
YAML
31 lines
635 B
YAML
version: '3'
|
|
|
|
services:
|
|
memcache:
|
|
image: memcached:1.5.4-alpine
|
|
restart: unless-stopped
|
|
command: memcached -m 512
|
|
|
|
web:
|
|
image: danelbert/parsley:production
|
|
restart: unless-stopped
|
|
ports:
|
|
- "7000:80"
|
|
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
|