Add encryption and lower the cache while using docker's built in dns

This commit is contained in:
caskd 2019-11-30 16:19:03 +01:00
parent 868a4c2f10
commit c866a0c324
No known key found for this signature in database
GPG Key ID: 79DB21404E300A27
2 changed files with 9 additions and 6 deletions

View File

@ -4,8 +4,12 @@ networks:
frontend:
driver: overlay
attachable: true
driver_opts:
encrypted: "true"
cache:
driver: overlay
driver_opts:
encrypted: "true"
secrets:
cf_op:

View File

@ -23,14 +23,13 @@ defaults
resolvers dockerdns
nameserver docker 127.0.0.11:53
nameserver cf 1.1.1.1:53
resolve_retries 2
timeout retry 300ms
hold other 30s
hold refused 30s
hold nx 30s
hold timeout 30s
hold valid 10s
hold other 100ms
hold refused 100ms
hold nx 100ms
hold timeout 3s
hold valid 1s
frontend https
mode http