-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
69 lines (64 loc) · 1.64 KB
/
docker-compose.yml
File metadata and controls
69 lines (64 loc) · 1.64 KB
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
services:
node:
image: ghcr.io/xmtp/node-go:main
platform: linux/amd64
environment:
- GOWAKU-NODEKEY=8a30dcb604b0b53627a5adc054dbf434b446628d4bd1eccc681d223f0550ce67
command:
- --store.enable
- --store.db-connection-string=postgres://postgres:xmtp@db:5432/postgres?sslmode=disable
- --store.reader-db-connection-string=postgres://postgres:xmtp@db:5432/postgres?sslmode=disable
- --mls-store.db-connection-string=postgres://postgres:xmtp@mlsdb:5432/postgres?sslmode=disable
- --mls-validation.grpc-address=validation:50051
- --api.enable-mls
- --wait-for-db=30s
ports:
- 25555:5555
- 25556:5556
depends_on:
- db
- mlsdb
- validation
validation:
image: ghcr.io/xmtp/mls-validation-service:main
platform: linux/amd64
db:
image: postgres:13
environment:
POSTGRES_PASSWORD: xmtp
ports:
- 25432:5432
mlsdb:
image: postgres:13
environment:
POSTGRES_PASSWORD: xmtp
notification_server:
build:
context: .
env_file: .env.docker
depends_on:
- node
command:
- --xmtp-listener
- --api
- --http-delivery
- --http-delivery-address=http://integration:7777/post
- --api-port=8080
integration:
build:
context: ./integration
dockerfile: Dockerfile
expose:
- 7777
volumes:
- ./integration/src:/usr/app/src:ro
depends_on:
- node
- notification_server
environment:
- XMTP_NODE_URL=http://node:5556
- NOTIFICATION_SERVER_URL=http://notification_server:8080
command:
- npx
- vitest
- run