docs: readme
This commit is contained in:
Binary file not shown.
|
Before Width: | Height: | Size: 179 KiB After Width: | Height: | Size: 288 KiB |
@@ -2,6 +2,7 @@
|
|||||||
+ allow toggling of mouse caputre, to select & copy text with mouse, [aec184ea22b289e91942a4c3e6a415685884bc47]
|
+ allow toggling of mouse caputre, to select & copy text with mouse, [aec184ea22b289e91942a4c3e6a415685884bc47]
|
||||||
+ show id column, [b10f927481c9e38a48c1d4b94e744ec48e8b6ba6]
|
+ show id column, [b10f927481c9e38a48c1d4b94e744ec48e8b6ba6]
|
||||||
+ draw_popup, using enum to draw in one of 9 areas, [1017850a6cc91328abc1127bdb117495f5e909d8]
|
+ 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
|
### Fixes
|
||||||
+ readme.md typo, [589501f9a4a0bfabdb0654e68cc0c752c529d97a]
|
+ readme.md typo, [589501f9a4a0bfabdb0654e68cc0c752c529d97a]
|
||||||
|
|||||||
@@ -28,9 +28,8 @@ See <a href="https://github.com/mrjackwills/oxker/releases" target='_blank' rel=
|
|||||||
install
|
install
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
INSTALL_DIR="${HOME}/.local/bin"
|
|
||||||
tar xzvf oxker_linux_x86_64.tar.gz oxker
|
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
|
rm oxker_linux_x86_64.tar.gz oxker
|
||||||
```
|
```
|
||||||
## Run
|
## Run
|
||||||
@@ -89,6 +88,13 @@ As of yet untested, needs work
|
|||||||
|
|
||||||
Run some example docker images
|
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 redis -d redis:alpine3.15```
|
||||||
|
|
||||||
```docker run --name postgres -e POSTGRES_PASSWORD=never_use_this_password_in_production -d postgres:alpine```
|
```docker run --name postgres -e POSTGRES_PASSWORD=never_use_this_password_in_production -d postgres:alpine```
|
||||||
|
|||||||
@@ -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
|
||||||
|
|
||||||
|
|
||||||
@@ -304,6 +304,7 @@ impl AppData {
|
|||||||
if self.containers.state.selected().is_some() {
|
if self.containers.state.selected().is_some() {
|
||||||
self.containers.previous();
|
self.containers.previous();
|
||||||
}
|
}
|
||||||
|
// docker rm -f $(docker ps -aq) will cause this to crash
|
||||||
self.containers.items.remove(index);
|
self.containers.items.remove(index);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user