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:
|
|
|
|
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
|
|
|
|
order: start-first
|
|
|
|
failure_action: rollback
|
|
|
|
logging: *json-log
|
|
|
|
ports:
|
2020-01-25 18:04:49 +00:00
|
|
|
- "53:5353/tcp"
|
|
|
|
- "53:5353/udp"
|
2020-01-23 16:19:16 +00:00
|
|
|
networks:
|
|
|
|
- backend
|