Fix issues with the Dockerfile

Using the configuration file has been a bad idea and this is why we're
switching to using command line args.

Also links and docs were updated

Signed-off-by: Sayan Nandan <nandansayan@outlook.com>
next
Sayan Nandan 4 years ago
parent b09beefe60
commit d23c4ee947
No known key found for this signature in database
GPG Key ID: C31EFD7DDA12AEE0

@ -1,2 +0,0 @@
# These are supported funding model platforms
patreon: terrabasedb

@ -4,7 +4,6 @@
FROM ubuntu:20.04
ENV TZ=america/central
COPY tdb-dockerfile.toml $HOME/tdb.toml
RUN \
ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ >/etc/timezone && \
apt-get update && apt-get install git curl build-essential -y && \
@ -19,7 +18,7 @@ RUN \
$HOME/.cargo/bin/rustup self uninstall -y && \
cp -f target/release/tdb /usr/local/bin
CMD ["tdb", "-c", "$HOME/tdb.toml"]
CMD ["tdb", "-h", "0.0.0.0", "-p", "2003"]
EXPOSE 2003/tcp

@ -4,8 +4,9 @@
<h1>Terrabase<b>DB</b></h1><h3>The next-generation NoSQL database</h3>
![GitHub Workflow Status](https://img.shields.io/github/workflow/status/terrabasedb/terrabasedb/Tests?style=flat-square) ![Status: Alpha](https://img.shields.io/badge/status-alpha-critical?style=flat-square) ![Development](https://img.shields.io/badge/development-actively%20developed-32CD32?style=flat-square) ![GitHub release (latest SemVer including pre-releases)](https://img.shields.io/github/v/release/terrabasedb/terrabasedb?include_prereleases&sort=semver&style=flat-square) ![GitHub commit activity](https://img.shields.io/github/commit-activity/m/terrabasedb/terrabasedb?label=commits&style=flat-square)
[![Docker Pulls](https://img.shields.io/docker/pulls/terrabasedb/tdb?style=flat-square)](https://hub.docker.com/r/terrabasedb/tdb)
[![Docs](https://img.shields.io/badge/readthedocs-here-blueviolet?style=flat-square)](https://terrabasedb.github.io/docs)
[![Docs](https://img.shields.io/badge/readthedocs-here-blueviolet?style=flat-square)](https://terrabasedb.github.io/docs) [![Contribute Now](https://img.shields.io/badge/%F0%9F%8C%9Fcontribute-now-a94064)](https://ohsayan.github.io/thanks)
</div>
</html>
@ -24,12 +25,12 @@ TerrabaseDB (or TDB for short) is an effort to provide the best of key/value sto
## Features
- **Insanely fast**: Scale to millions of queries per second per node
- **Key/value store**: `GET`, `SET`, `UPDATE` and [all that stuff](https://terrabasedb.github.io/docs/List-Of-Actions)
- **Snapshots**: Automated (and tunable) snapshots for stress-free backups
- **Multithreaded**: Designed to exploit all CPU cores
- **Resource friendly**: The database server doesn't need more than 1MB to run
- **Convenient**: Without the setup hassle and system-specific dependencies
* **Insanely fast**: Scale to millions of queries per second per node
* **Key/value store**: `GET` , `SET` , `UPDATE` and [all that stuff](https://terrabasedb.github.io/docs/List-Of-Actions)
* **Snapshots**: Automated (and tunable) snapshots for stress-free backups
* **Multithreaded**: Designed to exploit all CPU cores
* **Resource friendly**: The database server doesn't need more than 1MB to run
* **Convenient**: Without the setup hassle and system-specific dependencies
(... [and more on the way](https://github.com/terrabasedb/terrabasedb/labels/roadmap))
@ -57,6 +58,8 @@ This project strictly follows semver, however, since this project is currently i
## Contributing
[![Contribute Now](https://img.shields.io/badge/%F0%9F%8C%9Fcontribute-now-a94064?style=for-the-badge)](https://ohsayan.github.io/thanks)
**Yes - we need you!** Be it a typo, a bizarre idea, a dirty bug🐞 or an amazing patch - you're welcome to contribute to TDB! Beginner friendly issues are marked with the [<img src=https://img.shields.io/badge/L--easy-C71585>](https://github.com/terrabasedb/terrabasedb/labels/L-easy) label. Read the guide [here](./CONTRIBUTING.md).
## Contributors

@ -1,5 +0,0 @@
# This file is to be used by the docker container
[server]
host = "0.0.0.0"
port = 2003
noart = false
Loading…
Cancel
Save