-
Notifications
You must be signed in to change notification settings - Fork 94
/
mainnet.docker-compose.yml
58 lines (58 loc) · 1.27 KB
/
mainnet.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
services:
backend:
container_name: backend
image: docker.io/desoprotocol/backend:stable
command: run
entrypoint: /deso/bin/backend
volumes:
- mainnet-db:/db
ports:
- 17001:17001
- 17000:17000
- 2345:2345
environment:
# Values we set here OVERRIDE the base.env variables.
#
# Set the seed here if you want to be a validator
# - POS_VALIDATOR_SEED=
#
# For mainnet, we must use a different checkpoint provider
- CHECKPOINT_SYNCING_PROVIDERS=https://node.deso.org
- SYNC_TYPE=blocksync
- FORCE_CHECKSUM=false
- TESTNET=false
- REGTEST=false
- CONNECT_IPS=deso-seed-4.io:17000
- PROTOCOL_PORT=17000
- API_PORT=17001
env_file:
- base.env
expose:
- "17001"
- "17000"
- "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:
mainnet-db: