Introduce unbound for caching dns and move pihole to macvlan. Use "lan" as local domain name.
This commit is contained in:
@@ -39,7 +39,7 @@ services:
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.routers.gitea-web.entrypoints=web"
|
||||
- "traefik.http.routers.gitea-web.rule=Host(`gitea.localhost`) || Host(`gitea.local`)"
|
||||
- "traefik.http.routers.gitea-web.rule=Host(`gitea.lan`)"
|
||||
- "traefik.http.services.gitea-web.loadbalancer.server.port=3000"
|
||||
|
||||
nginx-kimai:
|
||||
@@ -49,7 +49,7 @@ services:
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.routers.kimai.entrypoints=web"
|
||||
- "traefik.http.routers.kimai.rule=Host(`kimai.localhost`)"
|
||||
- "traefik.http.routers.kimai.rule=Host(`kimai.lan`)"
|
||||
- "traefik.http.services.kimai.loadbalancer.server.port=80"
|
||||
depends_on:
|
||||
- kimai
|
||||
@@ -68,7 +68,7 @@ services:
|
||||
- ADMINMAIL=christiansteinle@arcor.de
|
||||
- ADMINPASS=ZovJdPamHwSNCGTcOPDb
|
||||
- DATABASE_URL=mysql://kimai:xXW5dnQoMpAmdXrQgUgU@mysql8/kimai
|
||||
- TRUSTED_HOSTS=kimai.localhost
|
||||
- TRUSTED_HOSTS=kimai.lan
|
||||
networks:
|
||||
- internal
|
||||
volumes:
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
server {
|
||||
listen 80;
|
||||
index index.php;
|
||||
server_name kimai.localhost;
|
||||
server_name kimai.lan;
|
||||
root /opt/kimai/public;
|
||||
|
||||
# cache static asset files
|
||||
|
||||
Reference in New Issue
Block a user