extensiveautomation/extensiveautomation-server
Extensive automation server
50K+
ExtensiveAutomation is a open source automation framework. If you want more informations,
Homepage | https://www.extensiveautomation.org/ |
Docs | https://extensiveautomation.readthedocs.io/en/latest/ |
Github | https://github.com/ExtensiveAutomation |
This docker image enable to run the server as container. This image does not contains any plugins, just the core server.
Downloading the image
docker pull extensiveautomation/extensiveautomation-server:latest
Start the container
docker run -d -p 8081:8081 -p 8082:8082 -p 8083:8083 \
--name=extensive-server docker.io/extensiveautomation/extensiveautomation-server
Now you can use the web interface or qt client to interact with the server. The following tcp port are exposed:
For this, we will use the following minimal directory structure and files in the specific container:
├── extensiveautomation-data
│ ├── Dockerfile
│ └── var/
│ ├── data.db
│ ├── documentations.dat
│ ├── __init__.py
│ ├── tests/
│ └── templates/
Create the main folder
mkdir extensiveautomation-data
cd extensiveautomation-data
Copy the content of the var
directory in server side.
git clone https://github.com/ExtensiveAutomation/extensiveautomation-server.git
cp -rf extensiveautomation-server/src/ea/var .
rm -rf extensiveautomation-server
And add the Dockerfile for the data volume, basing on an Alpine
image:
FROM alpine:3.10
WORKDIR /home/extensive
COPY . /home/extensive/var/
RUN adduser -D extensive && \
cd /home/extensive && \
chown -R extensive:extensive /home/extensive
VOLUME /home/extensive/ea/var
USER extensive
CMD ["echo", "Data volume for ExtensiveAutomation"]
Now, we have to build the image and create the container, just as any other container:
docker build -t extensiveautomation-data .
docker run --name=extensive-data extensiveautomation-data
Finally start the server and indicating that it has to use the data volume:
docker run -d -p 8081:8081 -p 8082:8082 -p 8083:8083 \
--volumes-from=extensive-data \
--name=extensive-server extensiveautomation/extensiveautomation-server:latest
docker pull extensiveautomation/extensiveautomation-server