forked from Patrik-Stas/indyscan
-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose.yml
112 lines (103 loc) · 2.74 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
version: '3.7'
x-es-logging:
&es-logging
options:
max-size: '300m'
max-file: '2'
driver: json-file
x-standard-logging:
&service-logging
options:
max-size: '500m'
max-file: '3'
driver: json-file
x-ui-logging:
&ui-logging
options:
max-size: '100m'
max-file: '3'
driver: json-file
services:
indyscan-indypool:
container_name: indyscanpool
image: ${INDYSCAN_INDYPOOL_IMAGE:-pstas/indypool:indyscanpool-v1.15.0}
logging: *es-logging
networks:
- indyscan
ports:
- 9701-9708:9701-9708
indyscan-daemon:
restart: unless-stopped
image: ${INDYSCAN_DAEMON_IMAGE:-pstas/indyscan-daemon:4.1.0}
container_name: indyscan-daemon
logging: *service-logging
depends_on:
- indyscan-elasticsearch
- indyscan-indypool
networks:
- esnet
- indyscan
environment:
- WORKER_CONFIGS=/home/indyscan/indyscan-daemon/app-configs-docker/INDYSCANPOOL.json
- LOG_LEVEL=info
- LOG_HTTP_REQUESTS=true
- LOG_HTTP_RESPONSES=true
- SERVER_ENABLED=true
- SERVER_PORT=3709
- AUTOSTART=true
- ENABLE_LOGFILES=false
volumes:
- ./app-configs-daemon/:/home/indyscan/indyscan-daemon/app-configs-docker
indyscan-api:
restart: unless-stopped
image: ${INDYSCAN_API_IMAGE:-pstas/indyscan-api:4.1.0}
container_name: indyscan-api
logging: *service-logging
environment:
- NETWORKS_CONFIG_PATH=${INDYSCAN_API_CONFIG_PATH:-/home/indyscan/indyscan-api/app-config-docker/localhost.json}
- ES_URL=http://indyscan-elasticsearch.esnet:9200
- AUTOSTART=true
- LOG_LEVEL=debug
- PORT=3708
- LOG_HTTP_REQUESTS=true
- LOG_HTTP_RESPONSES=true
networks:
- indyscan
- esnet
ports:
- 3708:3708
volumes:
- ./app-config-api/:/home/indyscan/indyscan-api/app-config-docker
indyscan-webapp:
restart: unless-stopped
image: ${INDYSCAN_WEBAPP_IMAGE:-pstas/indyscan-webapp:4.1.0}
container_name: indyscan-webapp
logging: *ui-logging
environment:
- INDYSCAN_API_URL=http://indyscan-api.indyscan:3708
- DAEMON_WS_URL=http://indyscan-daemon.indyscan:3709
- PORT=3707
- LOG_LEVEL=warn
- LOG_HTTP_REQUESTS=false
- LOG_HTTP_RESPONSES=false
networks:
- indyscan
ports:
- 3707:3707
indyscan-daemon-ui:
restart: unless-stopped
image: ${INDYSCAN_DAEMON_UI_IMAGE:-pstas/indyscan-daemon-ui:4.1.0}
container_name: indyscan-daemon-ui
logging: *ui-logging
environment:
- PORT=3710
- PROXY_API_URL=http://indyscan-daemon.indyscan:3709
- CHOKIDAR_USEPOLLING=true
networks:
- indyscan
ports:
- 3710:3710
networks:
indyscan:
name: indyscan
driver: bridge