-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
43 lines (41 loc) · 1.17 KB
/
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
39
40
41
42
43
version: '3.7'
services:
cupsdocker:
image: printserver/cupsdocker
build:
context: .
dockerfile: cups/Dockerfile
container_name: cupsdocker
environment:
- TZ=${TIMEZONE}
- CUPS_ADMIN_USERNAME=${PRINT_SERVER_ADMIN_USERNAME}
- CUPS_ADMIN_PASSWRD=${PRINT_SERVER_ADMIN_PASSWRD}
- CUPS_REGULAR_USERS=${PRINT_SERVER_REGULAR_USERS}
- CUPS_ALLOWED_HOSTS=${PRINT_SERVER_ALLOWED_HOSTS}
ports:
- 631:631/tcp
sysctls:
- net.ipv4.conf.all.src_valid_mark=1
devices:
- /dev/bus/usb:/dev/bus/usb
restart: unless-stopped
sonedocker:
image: printserver/sanedocker
build:
context: .
dockerfile: sane/Dockerfile
container_name: sanedocker
environment:
- TZ=${TIMEZONE}
- SANE_ADMIN_USERNAME=${PRINT_SERVER_ADMIN_USERNAME}
- SANE_ADMIN_PASSWRD=${PRINT_SERVER_ADMIN_PASSWRD}
- SANE_REGULAR_USERS=${PRINT_SERVER_REGULAR_USERS}
- SANE_ALLOWED_HOSTS=${PRINT_SERVER_ALLOWED_HOSTS}
ports:
- 6566:6566/udp
- 6566:6566/tcp
sysctls:
- net.ipv4.conf.all.src_valid_mark=1
devices:
- /dev/bus/usb:/dev/bus/usb
restart: unless-stopped