-
Notifications
You must be signed in to change notification settings - Fork 0
Usage
Badger Code edited this page Jun 16, 2025
·
2 revisions
To use the program, you can either run it in python or within a Docker container:
- Run the program
python ./app.pyπ Docker Notes
- Ensure you have Docker installed on your system. You can find installation instructions on the Docker website.
- The program uses Docker Compose to manage the container. Make sure you have Docker Compose installed as well.
- The program uses the
docker composecommand, which is the newer syntax for Docker Compose. If you have an older version of Docker Compose, you may need to usedocker-composeinstead. - Some helpful commands:
groups # Check your user groups (you should see `docker` in the list)
newgrp docker # Create a new group session with the `docker` group
sudo usermod -aG docker $USER && sudo reboot # Add your user to the Docker group and reboot- Build the Docker image
docker compose up
docker compose up -d # Run in detached mode- Access the web interface Go to http://localhost:5000 in a web browser to access the Uniconverter web interface.
firefox http://127.0.0.1:5000- Stop the Docker container (if ran in detached mode)
docker ps # List running containers
docker compose down- Cleanup (optional)
docker compose down --volumes --remove-orphans # Remove volumes and orphan containers
docker images # List docker images
docker rmi uniconverter-web # Remove the Docker imageπ» Command Line Arguments
| Argument | Description | Default |
|---|---|---|
-h & --help |
Help menu | |
--cleanup |
Delete optional files on exit | False |