Skip to content

Commit 926c160

Browse files
committed
Add Docker
1 parent 5a5809b commit 926c160

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ A simple CRUD backend app using Actix-web, Diesel and JWT
77
- [Rust Stable](https://rustup.rs)
88
- [Postgres](https://www.postgresql.org/)
99

10+
Or using [Docker](https://www.docker.com/)
11+
1012
# How to run
1113

1214
- Rename `secret.key.sample` to `secret.key` or create your own key by running `head -c16 /dev/urandom > secret.key` in command line (Linux/UNIX only) and copy to `/src` folder
@@ -18,6 +20,11 @@ A simple CRUD backend app using Actix-web, Diesel and JWT
1820
- Linux/UNIX: `target/release/address_book_rest_api`
1921
- Enjoy! 😄
2022

23+
### Docker
24+
25+
- Enter into project directory and run `docker-compose up`
26+
- Enjoy! 😄
27+
2128
# APIs
2229

2330
## Address: **`localhost:8080`**

0 commit comments

Comments
 (0)