1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-12-01 12:24:28 +01:00
fab-manager/docker/docker-compose.yml
2016-07-21 15:16:42 +02:00

44 lines
1.2 KiB
YAML

version: '2'
services:
fabmanager:
image: sleede/fab-manager
environment:
RAILS_ENV: production
RACK_ENV: production
ports:
- "80:80"
- "443:443"
env_file:
- /home/core/fabmanager/config/env
volumes:
- /home/core/fabmanager/config/nginx:/etc/nginx/conf.d
- /home/core/fabmanager/public/assets:/usr/src/app/public/assets
- /home/core/fabmanager/public/uploads:/usr/src/app/public/uploads
- /home/core/fabmanager/invoices:/usr/src/app/invoices
- /home/core/fabmanager/log:/var/log/supervisor
- /home/core/fabmanager/plugins:/usr/src/app/plugins
- /home/core/fabmanager/letsencrypt/etc:/etc/letsencrypt
depends_on:
- fabmanager-postgres
- fabmanager-redis
- fabmanager-elastic
restart: always
fabmanager-postgres:
image: postgres:9.4
volumes:
- /home/core/fabmanager/postgresql:/var/lib/postgresql/data
restart: always
fabmanager-elastic:
image: elasticsearch:1.7
volumes:
- /home/core/fabmanager/elasticsearch:/usr/share/elasticsearch/data
restart: always
fabmanager-redis:
image: redis:3.0
volumes:
- /home/core/fabmanager/redis:/data
restart: always