forked from datamade/bga-payroll
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
40 lines (39 loc) · 1.02 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
version: '3.3'
services:
solr:
image: solr:7.1
container_name: bga-payroll-solr
volumes:
- ./solr_configs:/bga-payroll_configs
- data:/opt/solr/server/solr/mycores
command: sh -c 'solr-create -c bga -d /bga-payroll_configs'
ports:
- '127.0.0.1:8986:8983'
environment:
SOLR_LOG_LEVEL: ERROR
restart: on-failure
redis:
image: redis
container_name: bga-payroll-redis
ports:
- '127.0.0.1:6380:6379'
volumes:
- ./configs/redis.conf:/redis.conf
restart: on-failure
command: redis-server /redis.conf
postgres:
image: postgres:10
container_name: bga-payroll-postgres
environment:
POSTGRES_DB: bga_payroll
ports:
- '127.0.0.1:5433:5432'
restart: on-failure
nginxlog:
build: https://github.com/datamade/sentrylogs.git
command: sentrylogs --sentryconfig /configs/sentry.ini --nginxerrorpath /var/log/nginx/bga-payroll-error.log
volumes:
- ./configs:/configs
- /var/log/nginx:/var/log/nginx
volumes:
data: