This repository has been archived on 2020-05-25. You can view files and clone it, but cannot push or open issues or pull requests.
2020-01-23 16:19:16 +00:00
|
|
|
version: '3.7'
|
|
|
|
|
|
|
|
x-logging: &json-log
|
|
|
|
driver: 'json-file'
|
|
|
|
options:
|
|
|
|
max-size: 20m
|
|
|
|
max-file: '5'
|
|
|
|
|
|
|
|
networks:
|
2020-03-09 16:56:58 +00:00
|
|
|
tig_monitoring:
|
|
|
|
external: true
|
|
|
|
#host:
|
|
|
|
# external: true
|
2020-01-23 16:19:16 +00:00
|
|
|
backend:
|
|
|
|
driver: overlay
|
|
|
|
attachable: true
|
|
|
|
driver_opts:
|
|
|
|
encrypted: "true"
|
|
|
|
|
|
|
|
services:
|
|
|
|
unbound:
|
|
|
|
image: localhost:5000/unbound:latest
|
|
|
|
deploy:
|
|
|
|
mode: global
|
|
|
|
restart_policy:
|
|
|
|
condition: any
|
|
|
|
update_config:
|
|
|
|
parallelism: 2
|
|
|
|
delay: 5s
|
2020-03-09 18:38:27 +00:00
|
|
|
order: stop-first
|
2020-01-23 16:19:16 +00:00
|
|
|
failure_action: rollback
|
|
|
|
logging: *json-log
|
2020-02-01 11:09:09 +00:00
|
|
|
volumes:
|
|
|
|
- "/etc/hosts:/etc/hosts:ro"
|
2020-01-23 16:19:16 +00:00
|
|
|
ports:
|
2020-03-09 16:56:58 +00:00
|
|
|
- target: 5353
|
|
|
|
published: 53
|
|
|
|
protocol: tcp
|
|
|
|
mode: host
|
|
|
|
- target: 5353
|
|
|
|
published: 53
|
|
|
|
protocol: udp # Potentially vulnerable without any ratelimits, see https://www.us-cert.gov/ncas/alerts/TA14-017A
|
|
|
|
mode: host
|
2020-01-23 16:19:16 +00:00
|
|
|
networks:
|
2020-03-09 16:56:58 +00:00
|
|
|
#- host
|
2020-01-23 16:19:16 +00:00
|
|
|
- backend
|
2020-03-09 16:56:58 +00:00
|
|
|
- tig_monitoring
|