https://github.com/universitadellacalabria/uniticket
Sistema di ticketing ed helpdesk per il tracciamento e la digitalizzazione dei flussi di richieste e documentali
https://github.com/universitadellacalabria/uniticket
agid django form-builder helpdesk helpdesk-ticketing python ticket-system
Last synced: 2 months ago
JSON representation
Sistema di ticketing ed helpdesk per il tracciamento e la digitalizzazione dei flussi di richieste e documentali
- Host: GitHub
- URL: https://github.com/universitadellacalabria/uniticket
- Owner: UniversitaDellaCalabria
- License: agpl-3.0
- Created: 2019-09-05T11:25:39.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2026-04-03T13:47:26.000Z (2 months ago)
- Last Synced: 2026-04-03T17:43:11.512Z (2 months ago)
- Topics: agid, django, form-builder, helpdesk, helpdesk-ticketing, python, ticket-system
- Language: Python
- Homepage:
- Size: 15.1 MB
- Stars: 27
- Watchers: 5
- Forks: 25
- Open Issues: 26
-
Metadata Files:
- Readme: README.DOCKER.md
- Changelog: CHANGELOG
- License: LICENSE
- Security: SECURITY.md
- Authors: AUTHORS
- Publiccode: publiccode.yml
Awesome Lists containing this project
README
Docker Image
------------
````
# please do not use standard distribution package
# apt install docker docker.io docker-compose
# use official docker repositories instead
apt install docker-ce docker-ce-cli containerd.io
cd uniTicket
# build the containers and run them
# sudo docker-compose up
# build without composer
sudo docker image build --tag uniticket:v2 .
# Run on localhost:8000
sudo docker run -t -i -p 8000:8000 --name uniticket uniticket:v2
````
Docker Container
----------------
````
sudo docker ps
# get state and id of containers
sudo docker container ls
# get a terminal into a running container
sudo docker container exec -it b075a1193428 /bin/bash
# list changed file in the container
sudo docker container diff b075a1193428
# install and mofiy things with apt/vi ...
# commit changes in a new image (don't do this is you haven't yet created a registry, see next chapter)
sudo docker container commit ab7e1c57b31a uniticket:v1.2
# backup and restore an image
sudo docker save uniticket:v1.2 -o uniticket.v1.2.docker.img
sudo docker image load -i uniticket.v1.2.docker.img
# resource live statistics about a container
sudo docker container stats b075a1193428
# inspect container environemnt
sudo docker container inspect b075a1193428
# display running processes in the container
sudo docker container top b075a1193428
````
Docker Swarm
------------
Single node Docker swarm [health check WiP]
````
# create the swam
sudo docker swarm init
# create a registry is swarm is composed by more then one node ...
# exec registry as an app on localhost
sudo docker run -d -p 5000:5000 --restart=always --name registry registry:2
# tag a local docker image by its uid in the registry
sudo docker tag 46c4806e5d61 localhost:5000/uniticket
# upload it
sudo docker push localhost:5000/uniticket
# create a service
sudo docker service create --name="uniticket" --publish 8000:8000/tcp --replicas 2 localhost:5000/uniticket
# see status
sudo docker service ps uniticket --no-trunc
# see wich network (gateway) is associated to the service
sudo docker network ls
sudo docker network inspect uniticket_default
# connect your browser to http://172.18.0.1:8000 ...
# update a service with a new image (HA failed, 5 seconds of downtime registered here... still need to implement an health check)
sudo docker service update --image uniticket:v1.2 --health-cmd "curl --fail http://localhost:8000/ || exit 1" --health-interval=5s --health-timeout=3s --health-retries=2 uniticket
````