Skip to content

Commit

Permalink
beta-6
Browse files Browse the repository at this point in the history
  • Loading branch information
naomijub committed Mar 27, 2021
1 parent f7fe0dd commit fb8cb7d
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
FROM rust:latest
RUN apt-get update && apt-get install make

ADD https://github.com/naomijub/wooridb/archive/0.1.5.tar.gz /
RUN tar -zxvf 0.1.5.tar.gz
WORKDIR /wooridb-0.1.5
ADD https://github.com/naomijub/wooridb/archive/0.1.6.tar.gz /
RUN tar -zxvf 0.1.6.tar.gz
WORKDIR /wooridb-0.1.6
RUN rm -rf book/ woori-db/data/ benches/ data/*.txt

EXPOSE 1438
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,11 @@ To run WooriDB it is necessary to have Rust installed in the machine. There are
- `Debug mode`: `make debug` in project root.

### Docker
you can find the latest docker image at **[naomijub/wooridb](https://hub.docker.com/repository/docker/naomijubs/wooridb)**. The current most stable tag is **`beta-4`**. To execute the docker container run:
you can find the latest docker image at **[naomijub/wooridb](https://hub.docker.com/repository/docker/naomijubs/wooridb)**. The current most stable tag is **`beta-6`**. To execute the docker container run:

* `docker run -p 1438:1438 naomijubs/wooridb:beta-4 debug` for debug mode.
* `docker run -p 1438:1438 -e AUTH_HASHING_COST=8 -e ADMIN=your-admin-id -e ADMIN_PASSWORD=your-admin-pswd naomijubs/wooridb:beta-4 run` for size optimization.
* `docker run -p 1438:1438 -e AUTH_HASHING_COST=8 -e ADMIN=your-admin-id -e ADMIN_PASSWORD=your-admin-pswd naomijubs/wooridb:beta-4 release` for performance optimization.
* `docker run -p 1438:1438 naomijubs/wooridb:beta-6 debug` for debug mode.
* `docker run -p 1438:1438 -e AUTH_HASHING_COST=8 -e ADMIN=your-admin-id -e ADMIN_PASSWORD=your-admin-pswd naomijubs/wooridb:beta-6 run` for size optimization.
* `docker run -p 1438:1438 -e AUTH_HASHING_COST=8 -e ADMIN=your-admin-id -e ADMIN_PASSWORD=your-admin-pswd naomijubs/wooridb:beta-6 release` for performance optimization.
* All `-e/--env` can be replaced by a `--env-file path/to/your/.env`. Your `.env`file should contain the following fields:
```
HASHING_COST=16
Expand Down
8 changes: 4 additions & 4 deletions book/src/sec-2-installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ To run WooriDB it is necessary to have Rust installed in the machine. There are

### Docker

You can find the latest docker image at **[naomijub/wooridb](https://hub.docker.com/repository/docker/naomijubs/wooridb)**. Currently the most stable tag is [**`beta-4`**](https://github.com/naomijub/wooridb/releases/tag/0.1.5). To execute the docker container run:
You can find the latest docker image at **[naomijub/wooridb](https://hub.docker.com/repository/docker/naomijubs/wooridb)**. Currently the most stable tag is [**`beta-6`**](https://github.com/naomijub/wooridb/releases/tag/0.1.6). To execute the docker container run:

* `docker run -p 1438:1438 naomijubs/wooridb:beta-4 debug` for debug mode.
* `docker run -p 1438:1438 -e AUTH_HASHING_COST=8 -e ADMIN=your-admin-id -e ADMIN_PASSWORD=your-admin-pswd naomijubs/wooridb:beta-4 run` for size optimization.
* `docker run -p 1438:1438 -e AUTH_HASHING_COST=8 -e ADMIN=your-admin-id -e ADMIN_PASSWORD=your-admin-pswd naomijubs/wooridb:beta-4 release` for performance optimization.
* `docker run -p 1438:1438 naomijubs/wooridb:beta-6 debug` for debug mode.
* `docker run -p 1438:1438 -e AUTH_HASHING_COST=8 -e ADMIN=your-admin-id -e ADMIN_PASSWORD=your-admin-pswd naomijubs/wooridb:beta-6 run` for size optimization.
* `docker run -p 1438:1438 -e AUTH_HASHING_COST=8 -e ADMIN=your-admin-id -e ADMIN_PASSWORD=your-admin-pswd naomijubs/wooridb:beta-6 release` for performance optimization.
* All `-e/--env` can be replaced by a `--env-file path/to/your/.env`. Your `.env` file should contain the following fields:
```
HASHING_COST=16
Expand Down

0 comments on commit fb8cb7d

Please sign in to comment.