From 1a9458e198303c16110bff12a683c3a69c4f04e4 Mon Sep 17 00:00:00 2001 From: Gianluca Date: Sun, 5 Nov 2023 16:18:01 +0100 Subject: [PATCH] Update README.md Add docker compose example and update extended docker run command with current version of the image --- README.md | 25 ++++++++++++++++++++++--- 1 file changed, 22 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index cf3a780..52d335a 100644 --- a/README.md +++ b/README.md @@ -47,10 +47,29 @@ This Ubuntu-based Docker image runs a CUPS instance that is meant as an AirPrint ### Example run env command: ``` -docker run --name cups --restart unless-stopped --net host\ +docker run --name airprint --restart unless-stopped --net host\ -v :/services \ -v :/config \ -e CUPSADMIN="" \ -e CUPSPASSWORD="" \ - znetwork/cups-avahi-airprint:latest -``` \ No newline at end of file + znetwork/synology-airprint:latest +``` + +### Example with docker componse: +``` +version: '3.3' +services: + synology-airprint: + container_name: airprint + restart: unless-stopped + network_mode: host + volumes: + - ':/services' + - ':/config' + environment: + - CUPSADMIN= + - CUPSPASSWORD= + ports: + - 631:631 + image: 'znetwork/synology-airprint:latest' +```