Merge pull request #25 from fnmeyer/main

Noticed some docker-compose issues
This commit is contained in:
tehNooB 2023-11-13 09:48:40 +00:00 committed by GitHub
commit d57cbaafb4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 19 additions and 5 deletions

13
.pre-commit-config.yaml Normal file
View file

@ -0,0 +1,13 @@
---
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
hooks:
- id: check-symlinks
- id: destroyed-symlinks
- id: detect-aws-credentials
args: [--allow-missing-credentials]
- repo: https://github.com/IamTheFij/docker-pre-commit
rev: v3.0.1
hooks:
- id: docker-compose-check

View file

@ -8,7 +8,7 @@ services:
security_opt: security_opt:
- no-new-privileges:true - no-new-privileges:true
networks: networks:
proxy: proxy:
ports: ports:
- 80:80 - 80:80
- 443:443 - 443:443
@ -39,8 +39,7 @@ services:
- "traefik.http.routers.traefik-secure.tls.domains[0].main=yourdomain.co.uk" - "traefik.http.routers.traefik-secure.tls.domains[0].main=yourdomain.co.uk"
- "traefik.http.routers.traefik-secure.tls.domains[0].sans=*.yourdomain.co.uk" - "traefik.http.routers.traefik-secure.tls.domains[0].sans=*.yourdomain.co.uk"
- "traefik.http.routers.traefik-secure.service=api@internal" - "traefik.http.routers.traefik-secure.service=api@internal"
- "traefik.http.routers.api.middlewares=authelia@docker - "traefik.http.routers.api.middlewares=authelia@docker"
networks: networks:
proxy: proxy:

1
Authentik/Web-Proxies/.env Symbolic link
View file

@ -0,0 +1 @@
../.env

View file

@ -41,5 +41,6 @@ services:
- "traefik.http.services.frigate.loadbalancer.server.port=5000" - "traefik.http.services.frigate.loadbalancer.server.port=5000"
- "traefik.docker.network=proxy" - "traefik.docker.network=proxy"
proxy: networks:
external: true proxy:
external: true