Skip to content

Commit ca4c7ea

Browse files
updated README.md
1 parent c1c0800 commit ca4c7ea

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

README.md

+7-5
Original file line numberDiff line numberDiff line change
@@ -135,18 +135,20 @@ http-server:
135135
- "8080:8080"
136136
```
137137

138-
To run the package just install `docker` and run `docker compose up` command in both directories.
138+
To run the package just install `docker` and run `docker compose up -d` command in both directories.
139139

140140
So to run the **downloader** in folder `landsat/downloader` execute:
141141
```bash
142-
docker compose up
142+
docker compose up -d
143143
```
144144

145145
and do the same in folder `landsat/http-server` to execute **http-server**.
146146

147-
There is also prepared a little script to run both of these docker containers, but I strongly recommend to run those
148-
commands inside separate [`screen`](https://en.wikipedia.org/wiki/GNU_Screen) consoles.
147+
There is also prepared a little script to run both of these docker containers.
148+
149+
Also in both **docker-compose.yml** files there are flags `restart: unless-stopped`, and thus after rebooting the
150+
machine, scripts will restart automatically.
149151

150152
## Thanks
151153

152-
Using [m2m-api](https://github.com/Fergui/m2m-api) by Angel Farguell licensed under MIT License. Many thanks!
154+
Using [m2m-api](https://github.com/Fergui/m2m-api) sources by Angel Farguell licensed under MIT License. Many thanks!

0 commit comments

Comments
 (0)