-
Notifications
You must be signed in to change notification settings - Fork 94
/
Copy pathdevnet.docker-compose.yml
60 lines (60 loc) · 1.64 KB
/
devnet.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
services:
backend:
container_name: backend
image: docker.io/desoprotocol/backend:stable
command: run
entrypoint: /deso/bin/backend
volumes:
- devnet-db:/db
ports:
- 18001:18001
- 18000:18000
- 2345:2345
env_file:
- base.env
environment:
# Values we set here OVERRIDE the base.env variables.
# Set the seed to a known devnet validator as an example
- POS_VALIDATOR_SEED=category ignore around vibrant delay cargo apart truly rabbit blue master cash
# For devnet, we must use a different checkpoint provider
#- CHECKPOINT_SYNCING_PROVIDERS=https://test.deso.org
- SYNC_TYPE=blocksync
- MINER_PUBLIC_KEYS=tBCKWZLt6BtJNRzs4qT8DWUY7BCoMUQVFp86HwQJ4RAqNxjwisrK74
- BLOCK_PRODUCER_SEED=category ignore around vibrant delay cargo apart truly rabbit blue master cash
- STARTER_DESO_SEED=category ignore around vibrant delay cargo apart truly rabbit blue master cash
- NUM_MINING_THREADS=1
- TESTNET=true
- REGTEST=true
- TXINDEX=true
#- CONNECT_IPS=devnet-0-root.deso.run:18000
- PROTOCOL_PORT=18000
- API_PORT=18001
expose:
- "18001"
- "18000"
- "2345"
frontend:
container_name: frontend
image: docker.io/desoprotocol/frontend:stable
ports:
- 8080:8080
volumes:
- ./:/app
env_file:
# TODO: We should break the frontend params from the backend params.
- base.env
expose:
- "8080"
nginx:
container_name: nginx
image: nginx:latest
volumes:
- ./nginx.dev:/etc/nginx/nginx.conf
depends_on:
- backend
- frontend
ports:
- 80:80
- 443:443
volumes:
devnet-db: