Compare commits
2 Commits
116b71f7c2
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
| ead848575f | |||
| 4d87b20740 |
16
.gitignore
vendored
16
.gitignore
vendored
@@ -1,12 +1,10 @@
|
||||
.env
|
||||
**/*
|
||||
!.gitignore
|
||||
|
||||
traefik/acme.json
|
||||
traefik/certs/
|
||||
traefik/traefik.log
|
||||
traefik/config/old.yaml
|
||||
!README.md
|
||||
!docker-compose.yaml
|
||||
|
||||
authelia/db.sqlite3
|
||||
authelia/notification.txt
|
||||
authelia/users_database.yml
|
||||
!traefik/traefik.yaml
|
||||
!traefik/config/*
|
||||
|
||||
homer/
|
||||
!authelia/configuration.yaml
|
||||
@@ -62,3 +62,11 @@ A bridge network for containers that shall be accessible by web interface. Route
|
||||
|
||||
- Authelia will ONLY work with https. Both the authelia url itself and the one being authenticated must be https.
|
||||
- The authorization link should NOT end with `/#/` or `/%2F/` or anything, just `/`. Otherwise it will not redirect you back after authorizing.
|
||||
|
||||
|
||||
# Docker-compose pieces that depend on this
|
||||
|
||||
- [SSH entrypoint](/thomas/docker-ssh/)
|
||||
- [Home Automation](/thomas/docker-ha/)
|
||||
- [GIT server](/thomas/docker-git/)
|
||||
- [Plex media server](/thomas/docker-plex/)
|
||||
@@ -23,6 +23,8 @@ services:
|
||||
container_name: traefik
|
||||
image: traefik
|
||||
restart: always
|
||||
depends_on:
|
||||
- authelia
|
||||
environment:
|
||||
- EMAIL
|
||||
- PRIVATE_DOMAIN
|
||||
@@ -41,6 +43,7 @@ services:
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
- ./traefik:/data
|
||||
- /var/log/traefik:/log
|
||||
healthcheck:
|
||||
# Sometimes, traefik loses connection to authelia. The only thing that works then is a restart, handled by autoheal.
|
||||
# I haven't checked for quite a while if this is still a problem, but might as well leave it in there.
|
||||
@@ -110,6 +113,19 @@ services:
|
||||
traefik.http.routers.dozzle.tls.certResolver: le
|
||||
traefik.http.routers.dozzle.middlewares: auth@file
|
||||
|
||||
analytics:
|
||||
image: gregyankovoy/goaccess
|
||||
volumes:
|
||||
- ./analytics:/config
|
||||
- /var/log/traefik:/opt/log
|
||||
networks:
|
||||
web:
|
||||
labels:
|
||||
traefik.enable: true
|
||||
traefik.http.routers.analytics.rule: Host(`analytics.${PRIVATE_DOMAIN}`)
|
||||
traefik.http.routers.analytics.tls.certResolver: le
|
||||
traefik.http.routers.analytics.middlewares: auth@file
|
||||
|
||||
|
||||
# labels:
|
||||
# The following three labels are always needed. Make sure to replace <SERVICE> with a unique name
|
||||
|
||||
@@ -13,6 +13,10 @@ providers:
|
||||
log:
|
||||
filePath: /data/traefik.log
|
||||
level: INFO
|
||||
# level: DEBUG
|
||||
|
||||
accessLog:
|
||||
filePath: /log/access.log
|
||||
|
||||
entryPoints:
|
||||
web:
|
||||
|
||||
Reference in New Issue
Block a user