generated from bitcoin-sv/template
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
67 lines (62 loc) · 1.6 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
55
56
57
58
59
60
61
62
63
64
65
66
67
services:
truth-machine:
image: bsvb/truth-machine:latest
build:
context: back
dockerfile: Dockerfile
container_name: truth-machine-backend
restart: always
ports:
- "3030:3030"
environment:
NETWORK: "test"
DB_NAME: "truth-machine"
FUNDING_WIF: "KwEnbvYVJZrpf1HTLEb3jo9Wz19r2uzPQ2waPTPX56vfij8nd7vH"
DOMAIN: "your-domain.com"
CALLBACK_TOKEN: "tvhbeVfbF3nUrZTmU" # replace with your own random string
MONGO_URI: "mongodb://mongo:27017"
PORT: 3030
truth-machine-demo:
image: bsvb/truth-machine-demo:latest
build:
context: front
dockerfile: Dockerfile
container_name: truth-machine-frontend
restart: always
ports:
- "3000:3000"
environment:
VITE_API_URL: http://truth-machine-backend:3030
truth-machine-backend:
build:
context: back
dockerfile: Dockerfile
container_name: truth-machine-backend
restart: always
ports:
- "3030:3030"
environment:
NETWORK: "test"
DB_NAME: "truth-machine"
FUNDING_WIF: "LzKDHiboYPoBcKK4T5mfC9eyrGQDy2RasnDwjw7KMC4cjyLGN3oP" # This is a throwaway test key
DOMAIN: "your-domain.com"
CALLBACK_TOKEN: "tvhbeVfbF3nUrZTmU"
MONGO_URI: "mongodb://mongo:27017"
PORT: 3030
mongo:
image: mongo:6-jammy
ports:
- '28017:27017'
volumes:
- mongo_data:/data/db
# ngrok:
# image: ngrok/ngrok:latest
# command:
# - "http"
# - "http://host.docker.internal:80"
# environment:
# NGROK_AUTHTOKEN: ""
# ports:
# - 4040:4040
volumes:
mongo_data: