forked from jitsucom/jitsu
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.dev-ui.yml
56 lines (53 loc) · 1.44 KB
/
docker-compose.dev-ui.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
# Compose for setting up local dev environment. For developing UI. This includes:
# - Configurator
# - Postgres to test destinations configurations
# Configurator is started at localhost:9875
# Run UI with BACKEND_API_BASE=http://localhost:9875 to use local backend
version: "2.3"
networks:
main:
services:
db:
image: postgres
volumes:
- ./ui-dev-compose/configurator/postgres/data:/var/lib/postgresql/data
environment:
- POSTGRES_DB=postgres
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres
jitsu:
container_name: jitsu
image: jitsucom/jitsu:latest
environment:
- REDIS_URL=redis://redis:6379
depends_on:
- redis
volumes:
- ./ui-dev-compose/configurator/data/logs:/home/configurator/data/logs
- ./ui-dev-compose/server/data/logs:/home/eventnative/data/logs
- ./ui-dev-compose/server/data/logs/events:/home/eventnative/data/logs/events
restart: always
ports:
- "9875:7000"
networks:
- main
redis:
container_name: jitsu_redis
image: redis:6.2.4-alpine
volumes:
- ./ui-dev-compose/configurator/redis/data:/data
restart: always
networks:
- main
redis_insights:
container_name: jitsu_redis_insights
image: redislabs/redisinsight:latest
restart: always
networks:
- main
volumes:
- ./ui-dev-compose/redis-insights/db:/db
ports:
- "9874:8001"
depends_on:
- redis