Printventory can be deployed as a Docker container for easy server mode deployment on Linux systems.
Quick Start:
Build and run with Docker Compose:
docker-compose up -d
Or build and run manually:
docker build -t printventory:latest .
docker run -d --name printventory-server -p 5000:5000 -v printventory-data:/root/.config/Printventory printventory:latest
Accessing Network Shares:
Docker containers cannot directly access Windows UNC paths. You need to mount network shares:
- Mount SMB/CIFS share on host:
sudo mount -t cifs //server/share /mnt/network-share -o username=user,password=pass
- Add to docker-compose.yml:
volumes:
- /mnt/network-share:/mnt/network-share:ro
- Use Linux paths in Printventory:
/mnt/network-share/path/to/files
Note: When running in Docker, the application automatically accepts Linux-style absolute paths (starting with /) instead of requiring UNC paths.
For detailed Docker deployment instructions, see the README.md file.