Enable fallback DNS on mini-pc
This commit is contained in:
@@ -3,6 +3,9 @@ services:
|
||||
image: caddy:2-alpine
|
||||
container_name: caddy
|
||||
restart: unless-stopped
|
||||
dns:
|
||||
- 1.1.1.1
|
||||
- 8.8.8.8
|
||||
ports:
|
||||
- "80:80"
|
||||
- "443:443"
|
||||
@@ -15,6 +18,9 @@ services:
|
||||
lego:
|
||||
image: git.ada-dev.ru/ada/lego:latest
|
||||
container_name: caddy-lego
|
||||
dns:
|
||||
- 1.1.1.1
|
||||
- 8.8.8.8
|
||||
env_file:
|
||||
- .env
|
||||
restart: unless-stopped
|
||||
|
||||
@@ -30,7 +30,10 @@
|
||||
};
|
||||
};
|
||||
|
||||
services.resolved.enable = false;
|
||||
services.resolved = {
|
||||
enable = true;
|
||||
fallbackDns = [ "1.1.1.1" "8.8.8.8" ];
|
||||
};
|
||||
|
||||
boot.loader.systemd-boot.enable = true;
|
||||
boot.loader.efi.canTouchEfiVariables = true;
|
||||
|
||||
Reference in New Issue
Block a user