1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2025-01-11 00:52:29 +01:00
fab-manager/docker/docker-compose.yml

55 lines
1.4 KiB
YAML
Raw Permalink Normal View History

2016-06-14 14:33:57 +02:00
version: '2'
services:
fabmanager:
image: sleede/fab-manager
environment:
RAILS_ENV: production
RACK_ENV: production
env_file:
- /home/core/fabmanager/config/env
volumes:
- /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
2016-07-27 17:48:15 +02:00
- /home/core/fabmanager/exports:/usr/src/app/exports
2016-06-14 14:33:57 +02:00
- /home/core/fabmanager/log:/var/log/supervisor
2016-07-21 15:16:42 +02:00
- /home/core/fabmanager/plugins:/usr/src/app/plugins
2016-06-14 14:33:57 +02:00
depends_on:
2016-09-06 12:19:47 +02:00
- postgres
- redis
- elasticsearch
2016-06-14 14:33:57 +02:00
restart: always
2016-09-06 12:19:47 +02:00
postgres:
2016-06-14 14:33:57 +02:00
image: postgres:9.4
volumes:
- /home/core/fabmanager/postgresql:/var/lib/postgresql/data
restart: always
2016-09-06 12:19:47 +02:00
elasticsearch:
2016-06-14 14:33:57 +02:00
image: elasticsearch:1.7
volumes:
- /home/core/fabmanager/elasticsearch:/usr/share/elasticsearch/data
restart: always
2016-09-06 12:19:47 +02:00
redis:
2016-06-14 14:33:57 +02:00
image: redis:3.0
volumes:
- /home/core/fabmanager/redis:/data
restart: always
2016-09-06 12:19:47 +02:00
nginx:
image: nginx:1.9
ports:
- "80:80"
- "443:443"
volumes:
- /home/core/fabmanager/config/nginx:/etc/nginx/conf.d
- /home/core/fabmanager/letsencrypt/etc:/etc/letsencrypt
2016-09-06 16:01:10 +02:00
- /home/core/fabmanager/log:/var/log/nginx
2016-09-06 16:02:33 +02:00
volumes_from:
2016-09-06 12:19:47 +02:00
- fabmanager:ro
links:
- fabmanager:fabmanager
restart: always