|
| 1 | +# An Ordinals ORD Docker Image |
| 2 | + |
| 3 | +This Docker image is built to run Bitcoin Core and ord. |
| 4 | + |
| 5 | +# An Ordinals ORD Tags |
| 6 | +- `ord-alpine` ([ord/Dockerfile](https://github.com/geekwho-eth/docker-bitcoin-core/blob/master/ord/Dockerfile)) |
| 7 | + |
| 8 | +ord build by ordinals install.sh. |
| 9 | + |
| 10 | +## Features |
| 11 | + |
| 12 | +- Utilizes Alpine Linux for a lightweight base image. |
| 13 | +- Non-root user (`ord`) for enhanced security. |
| 14 | +- Automatic installation of required dependencies. |
| 15 | +- Includes `libevent` and `libzmq` for improved performance. |
| 16 | +- Supports configuration via `ord.yaml`. |
| 17 | +- Exposes port `8080` for HTTP communication. |
| 18 | + |
| 19 | +## Usage |
| 20 | + |
| 21 | +1. **Build Image**: |
| 22 | + |
| 23 | + ```bash |
| 24 | + docker build -t ord-alpine . |
| 25 | + ``` |
| 26 | + |
| 27 | +2. **Run Bitcoin Core**: |
| 28 | + |
| 29 | + ```bash |
| 30 | + docker run -d --name ord-alpine \ |
| 31 | + -v /path/to/:/home/ord/ \ |
| 32 | + -p 8080:8080 \ |
| 33 | + ord-alpine ord --config=/home/ord/ord.yaml --rpc-url=127.0.0.1:8332 server --http-port=8080 |
| 34 | + ``` |
| 35 | + |
| 36 | +3. **Environment Variables**: |
| 37 | + |
| 38 | + - `UID`: User ID (default: `100`). |
| 39 | + - `GID`: Group ID (default: `101`). |
| 40 | + - `ORD_YAML`: Path to `ord.yaml` (default: `/home/ord/ord.yaml`). |
| 41 | + - `ORD_USER`: User name (default: `ord`). |
| 42 | + - `ORD_RPC_URL`: RPC URL (default: `127.0.0.1:8332`). |
| 43 | + |
| 44 | +4. **Configuration**: |
| 45 | + |
| 46 | + Modify `ord.yaml` as per your requirements. |
| 47 | + |
| 48 | +5. **Access Web Interface**: |
| 49 | + |
| 50 | + Open your browser and go to `http://localhost:8080`. |
| 51 | + |
| 52 | +6. **Additional Information**: |
| 53 | + |
| 54 | + - [Bitcoin Core Documentation](https://bitcoin.org/en/bitcoin-core/) |
| 55 | + - [Ordinals GitHub Repository](https://github.com/ordinals/ord) |
| 56 | + |
| 57 | +## Maintenance |
| 58 | + |
| 59 | +For any issues or feedback, please contact the maintainer: |
| 60 | + |
| 61 | +- Maintainer: GeekWho |
| 62 | + |
| 63 | + |
| 64 | +## Version Information |
| 65 | + |
| 66 | +- Docker Image Version: 1.0 |
| 67 | +- Bitcoin Core Version: [Specify Version] |
| 68 | + |
| 69 | +## License |
| 70 | + |
| 71 | +[MIT License](../LICENSE) |
0 commit comments