-
Notifications
You must be signed in to change notification settings - Fork 317
/
rudder-docker.yml
55 lines (54 loc) · 1.89 KB
/
rudder-docker.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
version: "3.7"
services:
db:
image: postgres:15-alpine
environment:
- POSTGRES_USER=rudder
- POSTGRES_PASSWORD=password
- POSTGRES_DB=jobsdb
ports:
- "6432:5432"
backend:
depends_on:
- db
- metrics-exporter
- d-transformer
image: rudderlabs/rudder-server:latest # latest version that matches 0.*.*
entrypoint: sh -c '/wait-for db:5432 -- /rudder-server'
ports:
- "8080:8080"
environment:
- JOBS_DB_HOST=db
- JOBS_DB_USER=rudder
- JOBS_DB_PORT=5432
- JOBS_DB_DB_NAME=jobsdb
- JOBS_DB_PASSWORD=password
- DEST_TRANSFORM_URL=http://d-transformer:9090
- CONFIG_BACKEND_URL=https://api.rudderstack.com
- WORKSPACE_TOKEN=<your_workspace_token> # Must be written without quotes e.g. WORKSPACE_TOKEN=20TokEO34NWitou2t3quO8teS7
- STATSD_SERVER_URL=metrics-exporter:9125
# DO NOT REMOVE - Mandatory env for Shopify
- RSERVER_GATEWAY_WEBHOOK_SOURCE_LIST_FOR_PARSING_PARAMS=Shopify
# - RSERVER_BACKEND_CONFIG_CONFIG_FROM_FILE=true
# - RSERVER_BACKEND_CONFIG_CONFIG_JSONPATH=<workspace_config_filepath_in_container> # For ex., /etc/rudderstack/workspaceConfig.json
# Uncomment the following lines to mount workspaceConfig file
# volumes:
# - <absolute_path_to_workspace_config>:<workspace_config_filepath_in_container> # Value for <workspace_config_filepath_in_container> should be same as the value provided for RSERVER_BACKEND_CONFIG_CONFIG_JSONPATH
d-transformer:
depends_on:
- metrics-exporter
image: rudderstack/rudder-transformer:latest
ports:
- "9090:9090"
environment:
- STATSD_SERVER_HOST=metrics-exporter
- STATSD_SERVER_PORT="9125"
# minio:
# image: minio/minio
# ports:
# - "9000:9000"
# command: server /data
metrics-exporter:
image: prom/statsd-exporter:v0.22.4
ports:
- "9102:9102"