forked from 0xPolygonHermez/zkevm-bridge-service
-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose.yml
47 lines (46 loc) · 1.11 KB
/
docker-compose.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
version: '3.5'
networks:
zkevm:
external: true
services:
zkevm-bridge-db:
container_name: zkevm-bridge-db
image: postgres
networks:
- zkevm
deploy:
resources:
limits:
memory: 2G
reservations:
memory: 1G
expose:
- 5436
ports:
- 5436:5432
environment:
- POSTGRES_USER=test_user
- POSTGRES_PASSWORD=test_password
- POSTGRES_DB=test_db
command: ["postgres", "-N", "500"]
zkevm-bridge-service:
container_name: zkevm-bridge-service
image: zkevm-bridge-service
networks:
- zkevm
ports:
- 8080:8080
- 9090:9090
environment:
- ZKEVM_BRIDGE_DATABASE_USER=test_user
- ZKEVM_BRIDGE_DATABASE_PASSWORD=test_password
- ZKEVM_BRIDGE_DATABASE_NAME=test_db
- ZKEVM_BRIDGE_DATABASE_HOST=zkevm-bridge-db
- ZKEVM_BRIDGE_DATABASE_PORT=5432
volumes:
- ./test/test.keystore.claimtx:/pk/keystore.claimtxmanager
- ./config/config.local.toml:/app/config.toml
command:
- "/bin/sh"
- "-c"
- "/app/zkevm-bridge run --cfg /app/config.toml"