forked from near-ndc/verification-oracle
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
54 lines (54 loc) · 1.35 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
48
49
50
51
52
53
54
version: "3.5"
services:
verification-oracle-staging:
image: ghcr.io/near-ndc/verification-oracle:develop
restart: always
command:
- ./verification-oracle
ports:
- 8081:8081
logging:
options:
max-size: 250m
max-file: 3
extra_hosts: []
volumes:
- type: bind
source: /root/Projects/verification-oracle/config/staging.json
target: /app/config/default.json
- type: bind
source: /root/Projects/verification-oracle/config/staging-secrets.json
target: /app/config/local.json
deploy:
resources:
limits:
memory: 1000M
environment:
RUST_LOG: debug
init: false
verification-oracle-production:
image: ghcr.io/near-ndc/verification-oracle:main
restart: always
command:
- ./verification-oracle
ports:
- 8080:8080
logging:
options:
max-size: 250m
max-file: 3
extra_hosts: []
volumes:
- type: bind
source: /root/Projects/verification-oracle/config/production.json
target: /app/config/default.json
- type: bind
source: /root/Projects/verification-oracle/config/production-secrets.json
target: /app/config/local.json
deploy:
resources:
limits:
memory: 1000M
environment:
RUST_LOG: debug
init: false