File tree 1 file changed +7
-5
lines changed
1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -135,18 +135,20 @@ http-server:
135
135
- "8080:8080"
136
136
```
137
137
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.
139
139
140
140
So to run the ** downloader** in folder ` landsat/downloader ` execute:
141
141
``` bash
142
- docker compose up
142
+ docker compose up -d
143
143
```
144
144
145
145
and do the same in folder ` landsat/http-server ` to execute ** http-server** .
146
146
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.
149
151
150
152
## Thanks
151
153
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!
You can’t perform that action at this time.
0 commit comments