-
Notifications
You must be signed in to change notification settings - Fork 3
/
docker-compose-dev.yml
62 lines (57 loc) · 1.51 KB
/
docker-compose-dev.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
version: "3.6"
services:
mqtt:
image: eclipse-mosquitto:1.6.15
container_name: mosquitto
restart: always
ports:
- "1883:1883"
volumes:
- ./build/dev/mqtt:/mosquitto/data
postgres:
image: postgres:13
restart: always
command:
[
"postgres",
"-cshared_preload_libraries=pg_stat_statements",
"-cstats_temp_directory=/tmp"
]
environment:
POSTGRES_USER: "test"
POSTGRES_PASSWORD: "passwd"
POSTGRES_DB: "pebble"
volumes:
- ./build/dev/postgres:/var/lib/postgresql/data
ports:
- "5432:5432"
clickhouse:
image: yandex/clickhouse-server:latest
platform: linux/amd64
container_name: clickhouse
ports:
- "8123:8123" # http
- "9000:9000" # tcp
volumes:
- ./build/dev/clickhouse:/var/lib/clickhouse
pebble-sequencer:
image: ghcr.io/machinefi/pebble-sequencer:latest
container_name: pebble-sequencer
platform: linux/amd64
restart: always
depends_on:
- "postgres"
- "mqtt"
command:
[ "run" ]
ports:
- "80:80"
environment:
PEBBLE_SEQUENCER__Blockchain_PersistPath: /data
PEBBLE_SEQUENCER__Database_Endpoint: postgres://test:passwd@postgres:5432/pebble?sslmode=disable
PEBBLE_SEQUENCER__MqttBroker_Server: tcp://mqtt:1883
PEBBLE_SEQUENCER__ProjectID: 100
PEBBLE_SEQUENCER__ProjectVersion: v0.0.1
PEBBLE_SEQUENCER__Blockchain_Network: IOTX_TESTNET
volumes:
- ./build/dev/pebble-sequencer:/data