forked from budney/docker-scanbd
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
34 lines (33 loc) · 1.02 KB
/
docker-compose.yml
File metadata and controls
34 lines (33 loc) · 1.02 KB
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
# This dockerfile sets up a DNS server that nobody can reach,
# and a DNS cache that both talks to it and answers general
# DNS queries. This is useful behind a firewall, where you
# need to lookup internal hosts but have no need to issue
# authoritative responses to other people's queries.
version: "3"
services:
scan_button:
image: budney/scanbd
restart: "no"
privileged: true
environment:
SERVICE: scan-button
USER_UID: 65526
USER_GID: 65526
UDEV: "on"
volumes:
- /home/budney/tmp/scanner:/var/spool/scan
- /home/budney/tmp/archive:/var/spool/archive
- /var/run/dbus/system_bus_socket:/run/dbus/system_bus_socket
scan_processor:
image: budney/scanbd
restart: "no"
environment:
SERVICE: scan-processor
USER_UID: 65526
USER_GID: 65526
volumes:
- /home/budney/tmp/scanner:/var/spool/scan
- /home/budney/tmp/archive:/var/spool/archive
- /etc/dropbox_uploader.conf:/etc/dropbox_uploader.conf
links:
- scan_button