diff options
author | Marco Andronaco <andronacomarco@gmail.com> | 2023-07-09 17:42:02 +0200 |
---|---|---|
committer | Marco Andronaco <andronacomarco@gmail.com> | 2023-07-09 17:42:02 +0200 |
commit | 25e86e9a71bf11b75ca989164268340931193637 (patch) | |
tree | ba26379fe129a86034595f38f4c2cd346c2502a6 /README.md | |
parent | d1bd70fe308ef1b7385b055a91c0a9b7797753db (diff) | |
download | tnt-search-25e86e9a71bf11b75ca989164268340931193637.tar.gz |
better docker compose
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/README.md b/README.md index 1112ab9..c2e2c9f 100644 --- a/README.md +++ b/README.md @@ -20,17 +20,14 @@ waitress-serve --host 127.0.0.1 --port 5000 main:app ``` ### Docker -Build image: -``` -docker build -t tnt-search . -``` -Then, either use Docker CLI: +Either use Docker CLI: ``` +docker build -t tnt-search . docker run -d --name tnt-search --restart unless-stopped -p 5000:5000 tnt-search ``` -Or, better, docker-compose (already set up for reverse-proxy only): +Or, better, `docker-compose`: ``` docker-compose up -d ``` |