forked from sasaki77/archiverappliance-datasource
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
58 lines (54 loc) · 1.37 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
version: '3'
volumes:
grafana-storage:
aa-storage:
services:
grafana:
image: grafana/grafana:latest
ports:
- '3000:3000'
volumes:
- ./:/var/lib/grafana/plugins/archiverappliance-datasource
- grafana-storage:/var/lib/grafana
environment:
- GF_LOG_LEVEL=debug
- GF_DATAPROXY_LOGGING=true
archappl:
hostname: archappl
image: pklaus/archiver-appliance
ports:
- "17665:17665"
volumes:
- aa-storage:/storage/sts
- aa-storage:/storage/mts
- aa-storage:/storage/lts
- aa-storage:/storage/logs
stdin_open: true
tty: true
#entrypoint: /bin/bash /opt/archappl/scripts/start.sh
environment:
ARCHAPPL_ALL_APPS_ON_ONE_JVM: "true"
#EPICS_CA_ADDR_LIST: "127.0.0.1"
#EPICS_CA_AUTO_ADDR_LIST: "no"
ARCHAPPL_PERSISTENCE_LAYER: "org.epics.archiverappliance.config.persistence.RedisPersistence"
ARCHAPPL_PERSISTENCE_LAYER_REDISURL: "redis-db"
depends_on:
- redis-db
links:
- redis-db
- example-ioc
redis-db:
image: redis
volumes:
- aa-storage:/data
command: redis-server --appendonly yes
example-ioc:
image: pklaus/epics_base:7.0.2.2_debian
stdin_open: true
tty: true
working_dir: /epics/iocs/example/iocBoot/iocEXAMPLE
expose:
- "5064-5065/udp"
- "5064-5065"
restart: always
command: ./st.cmd