#letsencrypt: # image: jrcs/letsencrypt-nginx-proxy-companion # volumes: # - /var/run/docker.sock:/var/run/docker.sock:ro # - ./certificates:/etc/nginx/certs:rw # volumes_from: # - nginx nginx: image: jwilder/nginx-proxy volumes: - /var/run/docker.sock:/tmp/docker.sock:ro - ./nginx/vhost.d:/etc/nginx/vhost.d - ./nginx/html:/usr/share/nginx/html ports: - 8001:80 links: - loomio - faye loomio: image: loomio/loomio expose: - 3000 env_file: ./env links: - db environment: - DATABASE_URL=postgresql://postgres:password@db/loomio_production volumes: - ./attachments:/loomio/public/system/ worker: image: loomio/loomio env_file: ./env links: - db:db environment: - DATABASE_URL=postgresql://postgres:password@db/loomio_production volumes: - ./attachments:/loomio/public/system/attachments command: "bundle exec rake jobs:work" db: image: postgres volumes: - ./pgdata:/pgdata environment: - POSTGRES_PASSWORD=password - PGDATA=/pgdata mailin: image: loomio/mailin-docker ports: - 25:25 links: - loomio environment: - WEBHOOK_URL=http://loomio.example.com/email_processor/ faye: build: faye/. env_file: ./faye_env