forked from jitsucom/jitsu
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
54 lines (52 loc) · 1.62 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
version: "2.3"
networks:
main:
services:
jitsu:
container_name: jitsu
image: jitsucom/jitsu
environment:
- REDIS_URL=redis://redis:6379
#Retroactive users recognition can affect RAM significant. Read more about the solution https://jitsu.com/docs/other-features/retroactive-user-recognition
- USER_RECOGNITION_ENABLED=true
- USER_RECOGNITION_REDIS_URL=redis://redis_users_recognition:6380
- TERM=xterm-256color
depends_on:
redis:
condition: service_healthy
volumes:
- ./compose-data/configurator/data/logs:/home/configurator/data/logs
- ./compose-data/server/data/logs:/home/eventnative/data/logs
- ./compose-data/server/data/logs/events:/home/eventnative/data/logs/events
- /var/run/docker.sock:/var/run/docker.sock
- workspace:/home/eventnative/data/airbyte
restart: always
ports:
- "8000:8000"
networks:
- main
redis:
container_name: jitsu_redis
image: redis:6.2.6-bullseye
volumes:
- ./compose-data/redis/data:/data
restart: always
healthcheck:
test: ["CMD-SHELL", "redis-cli -h localhost -p 6379 PING"]
interval: 1s
timeout: 30s
networks:
- main
redis_users_recognition:
container_name: jitsu_redis_users_recognition
image: redis:6.2.6-bullseye
volumes:
- ./compose-data/redis_users_recognition/data:/data
- ./compose-data/redis_users_recognition/redis.conf:/usr/local/etc/redis/redis.conf
command: redis-server /usr/local/etc/redis/redis.conf
restart: always
networks:
- main
volumes:
workspace:
name: jitsu_workspace