-
Notifications
You must be signed in to change notification settings - Fork 76
Expand file tree
/
Copy pathdocker-compose.miner.yml
More file actions
26 lines (26 loc) · 957 Bytes
/
Copy pathdocker-compose.miner.yml
File metadata and controls
26 lines (26 loc) · 957 Bytes
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
services:
miner:
image: entrius/allways:latest
container_name: aw-miner
restart: unless-stopped
entrypoint: /app/scripts/miner-entrypoint.sh
env_file:
- .env
ports:
- "${PORT}:${PORT}"
volumes:
- ${WALLET_PATH}:/root/.bittensor/wallets:ro
- ./data/allways:/root/.allways
# Solana keypair (miner identity + collateral payer). Pre-provision
# ./data/solana/id.json and fund it; ro so a missing file errors loudly at startup
# instead of load_or_create silently minting a throwaway key.
- ./data/solana:/root/.solana:ro
# `docker logs` buffer: 3 x 10 MB, oldest dropped. Dies with the container — the durable copy is
# ./data/allways/bittensor.log, rotated by the neuron (LOG_FILE_MAX_MB / LOG_FILE_BACKUPS).
logging:
driver: json-file
options:
max-size: "10m"
max-file: "3"
labels:
- "com.centurylinklabs.watchtower.enable=true"