docs: readme

This commit is contained in:
Jack Wills
2022-04-29 17:59:17 +00:00
parent 9b70fdfad7
commit f43c623813
5 changed files with 53 additions and 2 deletions
Binary file not shown.

Before

Width:  |  Height:  |  Size: 179 KiB

After

Width:  |  Height:  |  Size: 288 KiB

+1
View File
@@ -2,6 +2,7 @@
+ allow toggling of mouse caputre, to select & copy text with mouse, [aec184ea22b289e91942a4c3e6a415685884bc47]
+ show id column, [b10f927481c9e38a48c1d4b94e744ec48e8b6ba6]
+ draw_popup, using enum to draw in one of 9 areas, [1017850a6cc91328abc1127bdb117495f5e909d8]
+ use a message rx/sx for all docker commands, remove update loop, wait for update message from gui instead, [9b70fdfad7b38361ebee301bdc2545d3f0dfcf9e]
### Fixes
+ readme.md typo, [589501f9a4a0bfabdb0654e68cc0c752c529d97a]
+8 -2
View File
@@ -28,9 +28,8 @@ See <a href="https://github.com/mrjackwills/oxker/releases" target='_blank' rel=
install
```bash
INSTALL_DIR="${HOME}/.local/bin"
tar xzvf oxker_linux_x86_64.tar.gz oxker
install -Dm 755 oxker -t "$INSTALL_DIR"
install -Dm 755 oxker -t "${HOME}/.local/bin"
rm oxker_linux_x86_64.tar.gz oxker
```
## Run
@@ -89,6 +88,13 @@ As of yet untested, needs work
Run some example docker images
using docker-compose.yml;
```docker compose -f docker-compose.yml up -d```
or individually
```docker run --name redis -d redis:alpine3.15```
```docker run --name postgres -e POSTGRES_PASSWORD=never_use_this_password_in_production -d postgres:alpine```
+43
View File
@@ -0,0 +1,43 @@
version: "3.8"
networks:
oxker-example-net:
name: oxker-examaple-net
services:
postgres:
image: postgres:alpine
container_name: postgres
environment:
- POSTGRES_PASSWORD=never_use_this_password_in_production
ipc: private
restart: always
shm_size: 256MB
networks:
- oxker-example-net
deploy:
resources:
limits:
memory: 128M
redis:
image: redis:alpine
container_name: redis
ipc: private
restart: always
networks:
- oxker-example-net
deploy:
resources:
limits:
memory: 16M
rabbitmq:
image: rabbitmq:3
container_name: rabbitmq
ipc: private
restart: always
networks:
- oxker-example-net
deploy:
resources:
limits:
memory: 256M
+1
View File
@@ -304,6 +304,7 @@ impl AppData {
if self.containers.state.selected().is_some() {
self.containers.previous();
}
// docker rm -f $(docker ps -aq) will cause this to crash
self.containers.items.remove(index);
}
}