forked from SickHub/docker-cups-airprint
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
38 lines (36 loc) · 879 Bytes
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
version: "2.4"
services:
cups-airprint:
container_name: cups-airprint
image: drpsychick/airprint-bridge:latest
networks:
qnet-static:
ipv4_address: 192.168.1.100
ports:
- "137:137"
- "139:139"
- "445:445"
- "631:631"
- "5353:5353"
- "6566:6566"
volumes:
- /var/run/dbus:/var/run/dbus
- /share/docker-data/airprint_data/config:/config
- /share/docker-data/airprint_data/services:/services
devices:
- /dev/bus
- /dev/usb
restart: always
environment:
- TZ=PST
- CUPS_USER_ADMIN=admin
- CUPS_USER_PASSWORD=secr3t
- CUPS_IP=192.168.1.100
- CUPS_HOSTNAME=cups.home
- CUPS_WEBINTERFACE=yes
- CUPS_SHARE_PRINTERS=yes
- CUPS_REMOTE_ADMIN=yes
- AIRSCAN_SUBNET=192.168.0.0/18
networks:
qnet-static:
external: true