Skip to content
This repository was archived by the owner on Sep 9, 2024. It is now read-only.

Commit 2107338

Browse files
committed
first working version
0 parents  commit 2107338

1 file changed

Lines changed: 37 additions & 0 deletions

File tree

README.md

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
# Autoadmin-agent
2+
3+
There are two options for installing Autoadmin-agent: using Docker Desktop (for MacOS and Windows) or using Docker Engine (for Linux).
4+
5+
6+
## Installing autoadmin using docker
7+
8+
Open Terminal app and run following commands:
9+
10+
```bash
11+
12+
docker pull autoadmin/agent
13+
docker run -e CONNECTION_TOKEN=connection_token -e CONNECTION_TYPE=mysql -e CONNECTION_USERNAME=your_username \
14+
-e CONNECTION_PASSWORD=your_password -e CONNECTION_HOST=example.com autoadmin/agent
15+
```
16+
17+
## Install via Docker Compose
18+
19+
First step is installing [Docker Engine](https://docker.com).
20+
On Linux, please install [Docker Compose](https://docs.docker.com/compose/install/) as well.
21+
> Note: Docker Desktop on Windows and MacOS already include Docker Compose.
22+
23+
Second step – create **docker-compose.yml** file.
24+
Copy and paste configuration from [(source file)](https://github.com/Autoadmin-org/autoadmin-agent/blob/master/docker-compose.yml) or download this file.
25+
26+
Third step – create **.config.env** file in the same directory.
27+
Copy and paste the contents of [(source file)](https://github.com/Autoadmin-org/autoadmin-agent/blob/master/.config.env) or download this file.
28+
29+
Fourth step – open **.config.env** file and specify all required credentials.
30+
31+
32+
Open Terminal app and run:
33+
34+
```sh
35+
docker-compose up --build
36+
```
37+
After sucessfull execution, new connection will appear in Autoadmin Connections List.

0 commit comments

Comments
 (0)