Skip to content

Commit ebbabd9

Browse files
committed
Release 0.1.3
1 parent 5363ce5 commit ebbabd9

File tree

7 files changed

+56
-54
lines changed

7 files changed

+56
-54
lines changed

.version

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
VERSION=0.1.2
1+
VERSION=0.1.3

CHANGELOG.md

+3
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ All notable changes to this project will be documented in this file.
99
- Toast notification on Start/Stop/Restart
1010
- New `types.yaml` example
1111

12+
## Fixed
13+
- Set `NODEPATH` with `-n` option
14+
1215
## [0.1.2] - 2025-01-09
1316
### Added
1417
- MobX store

README.md

+22-51
Original file line numberDiff line numberDiff line change
@@ -15,87 +15,58 @@ Control panel to `Start`/`Stop`/`Restart`/`View Logs` for Docker, Systemd, VMs o
1515
- Config in `yaml` files, no DB
1616
- Simple API
1717

18-
![Screenshot](https://raw.githubusercontent.com/aceberg/AnyAppStart/refs/heads/main/assets/Screenshot_05.png)
18+
![Screenshot](https://raw.githubusercontent.com/aceberg/AnyAppStart/refs/heads/main/assets/Screenshot_06.png)
1919

2020
## More screenshots
2121
<details>
2222
<summary>Expand</summary>
2323

24-
![Screenshot](https://raw.githubusercontent.com/aceberg/AnyAppStart/refs/heads/main/assets/Screenshot_02.png)
25-
![Screenshot](https://raw.githubusercontent.com/aceberg/AnyAppStart/refs/heads/main/assets/Screenshot_03.png)
24+
![Screenshot](https://raw.githubusercontent.com/aceberg/AnyAppStart/refs/heads/main/assets/Screenshot_07.png)
2625
![Screenshot](https://raw.githubusercontent.com/aceberg/AnyAppStart/refs/heads/main/assets/Screenshot_04.png)
2726

2827
</details>
2928

30-
## Installation
29+
## Quick start (Docker, Binary)
3130
<details>
3231
<summary>Expand</summary>
3332

3433
> :warning: **Warning**
35-
> 1. There is Docker image available, but inside the container only Docker Type will work, which kinda defeats the purpose of this app. So installing binary is recommended.
36-
> 2. There is no built-in auth in this app, so make sure to restrict access to it with firewall and/or SSO (like Authelia) or simple [ForAuth](https://github.com/aceberg/ForAuth)
34+
> There is no built-in auth in this app, so make sure to restrict access to it with firewall and/or SSO (like Authelia) or simple [ForAuth](https://github.com/aceberg/ForAuth)
3735
38-
### Binary
39-
All binary packages can be found in [latest](https://github.com/aceberg/AnyAppStart/releases/latest) release. There are `.deb`, `.rpm`, `.apk` (Alpine Linux) and `.tar.gz` files.
40-
41-
Supported architectures: `amd64`, `i386`, `arm_v5`, `arm_v6`, `arm_v7`, `arm64`.
42-
43-
For `amd64` there is a `deb` repo [available](https://github.com/aceberg/ppa)
36+
After installation, you need to fill `types.yaml` file, either manually by clicking `Add Type` in GUI Types menu, or by copying this [types.yaml](https://github.com/aceberg/AnyAppStart/blob/main/example/types.yaml) example to config dir (see Options for path).
4437

4538
### Docker
46-
For demo purposes, mostly.
39+
4740
```sh
4841
docker run --name AnyAppStart \
4942
-e "TZ=$YOURTIMEZONE" \
5043
-v ~/.dockerdata/AnyAppStart:/data/AnyAppStart \ # yaml files here
5144
-v /var/run/docker.sock:/var/run/docker.sock \ # mount docker
5245
-p 8855:8855 \
53-
aceberg/anyappstart
46+
aceberg/anyappstart # or ghcr.io/aceberg/anyappstart
5447
```
5548

56-
</details>
49+
### Binary
50+
All binary packages can be found in [latest](https://github.com/aceberg/AnyAppStart/releases/latest) release. There are `.deb`, `.rpm`, `.apk` (Alpine Linux) and `.tar.gz` files.
5751

58-
## Usage
59-
<details>
60-
<summary>Expand</summary>
52+
Supported architectures: `amd64`, `i386`, `arm_v5`, `arm_v6`, `arm_v7`, `arm64`.
53+
54+
For `amd64` there is a `deb` repo [available](https://github.com/aceberg/ppa)
6155

6256
To run AnyAppStart as user, enable and start it:
6357
```sh
6458
sudo systemctl enable --now AnyAppStart@$USER.service
6559
```
66-
After, you need to fill `types.yaml` file, either manually by clicking `Add Type` in GUI Types menu, or by copying this [types.yaml](https://github.com/aceberg/AnyAppStart/blob/main/example/types.yaml) example to `~/.config/AnyAppStart/` (or `/etc/AnyAppStart/` for root)
60+
61+
</details>
62+
63+
## SSH from Docker container
64+
<details>
65+
<summary>Expand</summary>
66+
67+
To be able to pass commands over SSH from Docker container, you need to put SSH private key and `known_host` file in AnyAppStart config dir. Then, add a correct `SSH` string to `types.yaml` file. Example:
6768
```yaml
68-
# $ITEMNAME is a variable that will be parsed into actual Items names
69-
Docker:
70-
Logs: docker logs $ITEMNAME
71-
Restart: docker restart $ITEMNAME
72-
Start: docker start $ITEMNAME
73-
State: docker ps --filter status=running | grep $ITEMNAME
74-
Stop: docker stop $ITEMNAME
75-
Systemd:
76-
Logs: sudo systemctl status $ITEMNAME
77-
Restart: sudo systemctl restart $ITEMNAME
78-
Start: sudo systemctl start $ITEMNAME
79-
State: sudo systemctl | grep running | grep $ITEMNAME
80-
Stop: sudo systemctl stop $ITEMNAME
81-
VM:
82-
Logs: sudo journalctl -u libvirtd.service
83-
Restart: sudo virsh reboot $ITEMNAME
84-
Start: sudo virsh start $ITEMNAME
85-
State: sudo virsh list --state-running | grep $ITEMNAME
86-
Stop: sudo virsh shutdown $ITEMNAME
87-
ssh-Docker:
88-
Logs: ssh remote-host-ip -f docker logs $ITEMNAME
89-
Restart: ssh remote-host-ip -f docker restart $ITEMNAME
90-
Start: ssh remote-host-ip -f docker start $ITEMNAME
91-
State: ssh remote-host-ip -f docker ps --filter status=running | grep $ITEMNAME
92-
Stop: ssh remote-host-ip -f docker stop $ITEMNAME
93-
ssh-Systemd:
94-
Logs: ssh remote-host-ip -f sudo systemctl status $ITEMNAME
95-
Restart: ssh remote-host-ip -f sudo systemctl restart $ITEMNAME
96-
Start: ssh remote-host-ip -f sudo systemctl start $ITEMNAME
97-
State: ssh remote-host-ip -f sudo systemctl | grep running | grep $ITEMNAME
98-
Stop: ssh remote-host-ip -f systemctl stop $ITEMNAME
69+
SSH: 'ssh -i /data/AnyAppStart/priv_key -oUserKnownHostsFile=/data/AnyAppStart/known_hosts user@remote-host -f '
9970
```
10071
10172
</details>
@@ -118,7 +89,7 @@ ssh-Systemd:
11889
<details>
11990
<summary>Expand</summary>
12091
121-
| Key | Description | Default | Systemd (root) | Systemd (user) |
92+
| Key | Description | Default/Docker | Systemd (root) | Systemd (user) |
12293
| -------- | ----------- | ------- | ------- | ------- |
12394
| -d | Path to config dir | /data/AnyAppStart | /etc/AnyAppStart | ~/.config/AnyAppStart |
12495
| -n | Path to local [node modules](https://github.com/aceberg/my-dockerfiles/tree/main/node-bootstrap) | | | |

0 commit comments

Comments
 (0)