Easy installation via Docker - Xyna-Factory/xyna GitHub Wiki
Requirements
- docker
- docker-compose
Get your Docker Container Running
The easiest way to get your first factory running is via docker-compose.yml
file and the associated example.env
file.
Pull both files from https://github.com/Xyna-Factory/xyna-images/tree/main/dockerHub .
curl https://raw.githubusercontent.com/Xyna-Factory/xyna-images/refs/heads/main/dockerHub/docker-compose.yml -o docker-compose.yml
curl https://raw.githubusercontent.com/Xyna-Factory/xyna-images/refs/heads/main/dockerHub/example.env -o example.env
After you've done that you'll need to execute
docker-compose --env-file example.env up -d
Wait until it's finished loading the images from docker Hub and the containers are running and the status of mariadb
, xyna
and modeller
are Up (healthy)
. Use the following command to get a list of the running containers and their status.
docker ps --format '{{.Names}},{{.Status}}'
You should see three containers with names similar to:
modeller,Up 2 minutes (healthy)
xyna,Up 2 minutes (healthy)
mariadb,Up 2 minutes (healthy)
Now you can open http://localhost:8000/modeller in your web browser.
Login as user: xyna
and password: example
(Customizable in 'example.env' file) and start working with your own local Xyna-Factory.