This repository has been archived by the owner on Jan 13, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 40
/
temporal.yml
88 lines (78 loc) · 2.15 KB
/
temporal.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
# Production docker-compose setup for Temporal.
#
# Usage:
# env TEMPORAL=latest BASE=/my/dir docker-compose -f temporal.yml up
#
# Data:
# - Leave BASE unassigned to use the root directory.
# - Generally, component data goes in $BASE/data/$COMPONENT.
#
# Configuration:
# * temporal, queue-*:
# - configuration file should be in data directory
# - set TEMPORAL in env to use desired version
# * ipfs, ipfs-cluster:
# - configuration files should be in data directory
#
version: '3'
services:
temporal:
image: rtradetech/temporal:${TEMPORAL}
network_mode: "host" # expose all
volumes:
- ${BASE}/data/temporal:/temporal
krab:
image: rtradetech/temporal:${TEMPORAL}
network_mode: "host" # expose all
command: krab
volumes:
- ${BASE}/data/temporal:/temporal
queue-email-send:
image: rtradetech/temporal:${TEMPORAL}
network_mode: "host" # expose all
command: queue email-send
volumes:
- ${BASE}/data/temporal:/temporal
queue-ipfs-cluster:
image: rtradetech/temporal:${TEMPORAL}
network_mode: "host" # expose all
command: queue ipfs cluster
volumes:
- ${BASE}/data/temporal:/temporal
queue-ipfs-ipns-entry:
image: rtradetech/temporal:${TEMPORAL}
network_mode: "host" # expose all
command: queue ipfs ipns-entry
volumes:
- ${BASE}/data/temporal:/temporal
queue-ipfs-key-creation:
image: rtradetech/temporal:${TEMPORAL}
network_mode: "host" # expose all
command: queue ipfs key-creation
volumes:
- ${BASE}/data/temporal:/temporal
queue-ipfs-pin:
image: rtradetech/temporal:${TEMPORAL}
network_mode: "host" # expose all
command: queue ipfs pin
volumes:
- ${BASE}/data/temporal:/temporal
ipfs:
image: ipfs/go-ipfs:v0.4.22
command: daemon --migrate=true --enable-namesys-pubsub
ports:
- 4001:4001
- 5001:5001
- 8080:8080
volumes:
- ${BASE}/data/ipfs:/data/ipfs
ipfs_cluster:
depends_on:
- ipfs
image: ipfs/ipfs-cluster:v0.11.0
ports:
- 9094:9094
- 9095:9095
- 9096:9096
volumes:
- ${BASE}/data/ipfs-cluster:/data/ipfs-cluster