Add lokidoki
This commit is contained in:
parent
cdba920720
commit
63e99af32c
12 changed files with 102 additions and 3 deletions
|
@ -13,6 +13,11 @@ services:
|
||||||
- POSTGRES_PASSWORD=nextcloud
|
- POSTGRES_PASSWORD=nextcloud
|
||||||
- POSTGRES_DB=nextcloud
|
- POSTGRES_DB=nextcloud
|
||||||
- POSTGRES_USER=nextcloud
|
- POSTGRES_USER=nextcloud
|
||||||
|
logging:
|
||||||
|
driver: loki
|
||||||
|
options:
|
||||||
|
loki-url: "https://lokidoki:vEGH5Z5siWgcDkNknvCVzPCyqhHSBJCBjeBRZJvxUP8SdgfxJ6AqCGutCWugGsx5@loki.mrdev023.fr/loki/api/v1/push"
|
||||||
|
mode: non-blocking
|
||||||
|
|
||||||
nextcloud:
|
nextcloud:
|
||||||
image: nextcloud
|
image: nextcloud
|
||||||
|
@ -57,6 +62,11 @@ services:
|
||||||
- POSTGRES_USER=nextcloud
|
- POSTGRES_USER=nextcloud
|
||||||
- POSTGRES_HOST=db
|
- POSTGRES_HOST=db
|
||||||
- OVERWRITEPROTOCOL=https
|
- OVERWRITEPROTOCOL=https
|
||||||
|
logging:
|
||||||
|
driver: loki
|
||||||
|
options:
|
||||||
|
loki-url: "https://lokidoki:vEGH5Z5siWgcDkNknvCVzPCyqhHSBJCBjeBRZJvxUP8SdgfxJ6AqCGutCWugGsx5@loki.mrdev023.fr/loki/api/v1/push"
|
||||||
|
mode: non-blocking
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
internal:
|
internal:
|
||||||
|
|
|
@ -10,6 +10,11 @@ services:
|
||||||
- {{ server.work_dir }}/dolibarr/db:/var/lib/mysql
|
- {{ server.work_dir }}/dolibarr/db:/var/lib/mysql
|
||||||
networks:
|
networks:
|
||||||
- internal
|
- internal
|
||||||
|
logging:
|
||||||
|
driver: loki
|
||||||
|
options:
|
||||||
|
loki-url: "https://lokidoki:vEGH5Z5siWgcDkNknvCVzPCyqhHSBJCBjeBRZJvxUP8SdgfxJ6AqCGutCWugGsx5@loki.mrdev023.fr/loki/api/v1/push"
|
||||||
|
mode: non-blocking
|
||||||
|
|
||||||
dolibarr:
|
dolibarr:
|
||||||
image: tuxgasy/dolibarr:latest
|
image: tuxgasy/dolibarr:latest
|
||||||
|
@ -39,6 +44,11 @@ services:
|
||||||
- "traefik.http.routers.dolibarr-secure.tls.certresolver=sslResolver"
|
- "traefik.http.routers.dolibarr-secure.tls.certresolver=sslResolver"
|
||||||
- "traefik.http.routers.dolibarr-secure.middlewares=private-network@file"
|
- "traefik.http.routers.dolibarr-secure.middlewares=private-network@file"
|
||||||
- "traefik.docker.network=proxy"
|
- "traefik.docker.network=proxy"
|
||||||
|
logging:
|
||||||
|
driver: loki
|
||||||
|
options:
|
||||||
|
loki-url: "https://lokidoki:vEGH5Z5siWgcDkNknvCVzPCyqhHSBJCBjeBRZJvxUP8SdgfxJ6AqCGutCWugGsx5@loki.mrdev023.fr/loki/api/v1/push"
|
||||||
|
mode: non-blocking
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
internal:
|
internal:
|
||||||
|
|
|
@ -22,3 +22,8 @@ services:
|
||||||
# - "traefik.http.routers.homeassistant-secure.service=homeassistant"
|
# - "traefik.http.routers.homeassistant-secure.service=homeassistant"
|
||||||
- "traefik.http.routers.homeassistant-secure.middlewares=private-network@file"
|
- "traefik.http.routers.homeassistant-secure.middlewares=private-network@file"
|
||||||
- "traefik.http.services.homeassistant.loadbalancer.server.port=8123"
|
- "traefik.http.services.homeassistant.loadbalancer.server.port=8123"
|
||||||
|
logging:
|
||||||
|
driver: loki
|
||||||
|
options:
|
||||||
|
loki-url: "https://lokidoki:vEGH5Z5siWgcDkNknvCVzPCyqhHSBJCBjeBRZJvxUP8SdgfxJ6AqCGutCWugGsx5@loki.mrdev023.fr/loki/api/v1/push"
|
||||||
|
mode: non-blocking
|
||||||
|
|
|
@ -13,6 +13,11 @@ services:
|
||||||
- POSTGRES_USER=synapse
|
- POSTGRES_USER=synapse
|
||||||
- POSTGRES_PASSWORD=WRyu2kuArNjRxojstqpg7EfcoUP9zoka
|
- POSTGRES_PASSWORD=WRyu2kuArNjRxojstqpg7EfcoUP9zoka
|
||||||
- POSTGRES_INITDB_ARGS=--encoding=UTF-8 --lc-collate=C --lc-ctype=C
|
- POSTGRES_INITDB_ARGS=--encoding=UTF-8 --lc-collate=C --lc-ctype=C
|
||||||
|
logging:
|
||||||
|
driver: loki
|
||||||
|
options:
|
||||||
|
loki-url: "https://lokidoki:vEGH5Z5siWgcDkNknvCVzPCyqhHSBJCBjeBRZJvxUP8SdgfxJ6AqCGutCWugGsx5@loki.mrdev023.fr/loki/api/v1/push"
|
||||||
|
mode: non-blocking
|
||||||
|
|
||||||
synapse:
|
synapse:
|
||||||
image: matrixdotorg/synapse:latest
|
image: matrixdotorg/synapse:latest
|
||||||
|
@ -35,6 +40,11 @@ services:
|
||||||
- "traefik.http.routers.matrix-secure.tls.certresolver=sslResolver"
|
- "traefik.http.routers.matrix-secure.tls.certresolver=sslResolver"
|
||||||
- "traefik.port=8008"
|
- "traefik.port=8008"
|
||||||
- "traefik.docker.network=proxy"
|
- "traefik.docker.network=proxy"
|
||||||
|
logging:
|
||||||
|
driver: loki
|
||||||
|
options:
|
||||||
|
loki-url: "https://lokidoki:vEGH5Z5siWgcDkNknvCVzPCyqhHSBJCBjeBRZJvxUP8SdgfxJ6AqCGutCWugGsx5@loki.mrdev023.fr/loki/api/v1/push"
|
||||||
|
mode: non-blocking
|
||||||
|
|
||||||
well-kwown:
|
well-kwown:
|
||||||
image: nginx:latest
|
image: nginx:latest
|
||||||
|
@ -55,6 +65,11 @@ services:
|
||||||
- "traefik.http.routers.matrix-wellknown.tls.certresolver=sslResolver"
|
- "traefik.http.routers.matrix-wellknown.tls.certresolver=sslResolver"
|
||||||
- "traefik.http.routers.matrix-wellknown.middlewares=cors-headers@docker"
|
- "traefik.http.routers.matrix-wellknown.middlewares=cors-headers@docker"
|
||||||
- "traefik.docker.network=proxy"
|
- "traefik.docker.network=proxy"
|
||||||
|
logging:
|
||||||
|
driver: loki
|
||||||
|
options:
|
||||||
|
loki-url: "https://lokidoki:vEGH5Z5siWgcDkNknvCVzPCyqhHSBJCBjeBRZJvxUP8SdgfxJ6AqCGutCWugGsx5@loki.mrdev023.fr/loki/api/v1/push"
|
||||||
|
mode: non-blocking
|
||||||
|
|
||||||
# BRIDGE
|
# BRIDGE
|
||||||
mautrix-facebook:
|
mautrix-facebook:
|
||||||
|
@ -65,6 +80,11 @@ services:
|
||||||
- internal
|
- internal
|
||||||
volumes:
|
volumes:
|
||||||
- {{ server.work_dir }}/matrix/mautrix_facebook:/data
|
- {{ server.work_dir }}/matrix/mautrix_facebook:/data
|
||||||
|
logging:
|
||||||
|
driver: loki
|
||||||
|
options:
|
||||||
|
loki-url: "https://lokidoki:vEGH5Z5siWgcDkNknvCVzPCyqhHSBJCBjeBRZJvxUP8SdgfxJ6AqCGutCWugGsx5@loki.mrdev023.fr/loki/api/v1/push"
|
||||||
|
mode: non-blocking
|
||||||
|
|
||||||
mautrix-instagram:
|
mautrix-instagram:
|
||||||
container_name: mautrix-instagram
|
container_name: mautrix-instagram
|
||||||
|
@ -74,6 +94,11 @@ services:
|
||||||
- internal
|
- internal
|
||||||
volumes:
|
volumes:
|
||||||
- {{ server.work_dir }}/matrix/mautrix_instagram:/data
|
- {{ server.work_dir }}/matrix/mautrix_instagram:/data
|
||||||
|
logging:
|
||||||
|
driver: loki
|
||||||
|
options:
|
||||||
|
loki-url: "https://lokidoki:vEGH5Z5siWgcDkNknvCVzPCyqhHSBJCBjeBRZJvxUP8SdgfxJ6AqCGutCWugGsx5@loki.mrdev023.fr/loki/api/v1/push"
|
||||||
|
mode: non-blocking
|
||||||
|
|
||||||
mautrix-discord:
|
mautrix-discord:
|
||||||
container_name: mautrix-discord
|
container_name: mautrix-discord
|
||||||
|
@ -83,6 +108,11 @@ services:
|
||||||
- internal
|
- internal
|
||||||
volumes:
|
volumes:
|
||||||
- {{ server.work_dir }}/matrix/mautrix_discord:/data
|
- {{ server.work_dir }}/matrix/mautrix_discord:/data
|
||||||
|
logging:
|
||||||
|
driver: loki
|
||||||
|
options:
|
||||||
|
loki-url: "https://lokidoki:vEGH5Z5siWgcDkNknvCVzPCyqhHSBJCBjeBRZJvxUP8SdgfxJ6AqCGutCWugGsx5@loki.mrdev023.fr/loki/api/v1/push"
|
||||||
|
mode: non-blocking
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
internal:
|
internal:
|
||||||
|
|
|
@ -37,10 +37,19 @@ services:
|
||||||
command: -config.file=/etc/loki/config.yml
|
command: -config.file=/etc/loki/config.yml
|
||||||
volumes:
|
volumes:
|
||||||
- {{ server.work_dir }}/loki/config:/etc/loki
|
- {{ server.work_dir }}/loki/config:/etc/loki
|
||||||
ports:
|
|
||||||
- 3100:3100
|
|
||||||
networks:
|
networks:
|
||||||
- metrics
|
- metrics
|
||||||
|
labels:
|
||||||
|
- traefik.enable=true
|
||||||
|
- traefik.http.routers.loki-secure.entrypoints=https
|
||||||
|
- traefik.http.routers.loki-secure.rule=Host(`loki.{{ server.domain }}`)
|
||||||
|
- traefik.http.middlewares.loki-auth.basicauth.users=lokidoki:$$2y$$05$$HHJS7jsXv9g.1AsZX6f0jeFP.CrfGuvm1qoj/V8d/iXrX9oTKbDH2
|
||||||
|
- traefik.http.routers.loki-secure.middlewares=loki-auth
|
||||||
|
- traefik.http.routers.loki-secure.tls=true
|
||||||
|
- traefik.http.routers.loki-secure.tls.certresolver=sslResolver
|
||||||
|
- traefik.http.routers.loki-secure.service=loki
|
||||||
|
- traefik.http.services.loki.loadbalancer.server.port=3100
|
||||||
|
- traefik.docker.network=proxy
|
||||||
|
|
||||||
promtail:
|
promtail:
|
||||||
image: grafana/promtail:latest
|
image: grafana/promtail:latest
|
||||||
|
|
|
@ -13,6 +13,11 @@ services:
|
||||||
- POSTGRES_PASSWORD=n8n
|
- POSTGRES_PASSWORD=n8n
|
||||||
- POSTGRES_DB=n8n
|
- POSTGRES_DB=n8n
|
||||||
- POSTGRES_USER=n8n
|
- POSTGRES_USER=n8n
|
||||||
|
logging:
|
||||||
|
driver: loki
|
||||||
|
options:
|
||||||
|
loki-url: "https://lokidoki:vEGH5Z5siWgcDkNknvCVzPCyqhHSBJCBjeBRZJvxUP8SdgfxJ6AqCGutCWugGsx5@loki.mrdev023.fr/loki/api/v1/push"
|
||||||
|
mode: non-blocking
|
||||||
|
|
||||||
n8n:
|
n8n:
|
||||||
image: n8nio/n8n
|
image: n8nio/n8n
|
||||||
|
@ -40,6 +45,11 @@ services:
|
||||||
- DB_POSTGRESDB_DATABASE=n8n
|
- DB_POSTGRESDB_DATABASE=n8n
|
||||||
- DB_POSTGRESDB_USER=n8n
|
- DB_POSTGRESDB_USER=n8n
|
||||||
- DB_POSTGRESDB_PASSWORD=n8n
|
- DB_POSTGRESDB_PASSWORD=n8n
|
||||||
|
logging:
|
||||||
|
driver: loki
|
||||||
|
options:
|
||||||
|
loki-url: "https://lokidoki:vEGH5Z5siWgcDkNknvCVzPCyqhHSBJCBjeBRZJvxUP8SdgfxJ6AqCGutCWugGsx5@loki.mrdev023.fr/loki/api/v1/push"
|
||||||
|
mode: non-blocking
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
internal:
|
internal:
|
||||||
|
|
|
@ -9,6 +9,11 @@ services:
|
||||||
- protonmail
|
- protonmail
|
||||||
volumes:
|
volumes:
|
||||||
- {{ server.work_dir }}/protonmail/base:/root
|
- {{ server.work_dir }}/protonmail/base:/root
|
||||||
|
logging:
|
||||||
|
driver: loki
|
||||||
|
options:
|
||||||
|
loki-url: "https://lokidoki:vEGH5Z5siWgcDkNknvCVzPCyqhHSBJCBjeBRZJvxUP8SdgfxJ6AqCGutCWugGsx5@loki.mrdev023.fr/loki/api/v1/push"
|
||||||
|
mode: non-blocking
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
protonmail:
|
protonmail:
|
||||||
|
|
|
@ -48,7 +48,7 @@ services:
|
||||||
logging:
|
logging:
|
||||||
driver: loki
|
driver: loki
|
||||||
options:
|
options:
|
||||||
loki-url: "http://localhost:3100/loki/api/v1/push"
|
loki-url: "https://lokidoki:vEGH5Z5siWgcDkNknvCVzPCyqhHSBJCBjeBRZJvxUP8SdgfxJ6AqCGutCWugGsx5@loki.mrdev023.fr/loki/api/v1/push"
|
||||||
mode: non-blocking
|
mode: non-blocking
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
|
|
|
@ -48,6 +48,11 @@ services:
|
||||||
- traefik.http.routers.bitwarden-websocket-http.middlewares=redirect-https
|
- traefik.http.routers.bitwarden-websocket-http.middlewares=redirect-https
|
||||||
- traefik.http.routers.bitwarden-websocket-http.service=bitwarden-websocket
|
- traefik.http.routers.bitwarden-websocket-http.service=bitwarden-websocket
|
||||||
- traefik.http.services.bitwarden-websocket.loadbalancer.server.port=3012
|
- traefik.http.services.bitwarden-websocket.loadbalancer.server.port=3012
|
||||||
|
logging:
|
||||||
|
driver: loki
|
||||||
|
options:
|
||||||
|
loki-url: "https://lokidoki:vEGH5Z5siWgcDkNknvCVzPCyqhHSBJCBjeBRZJvxUP8SdgfxJ6AqCGutCWugGsx5@loki.mrdev023.fr/loki/api/v1/push"
|
||||||
|
mode: non-blocking
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
internal:
|
internal:
|
||||||
|
|
|
@ -7,3 +7,8 @@ services:
|
||||||
container_name: watchtower
|
container_name: watchtower
|
||||||
volumes:
|
volumes:
|
||||||
- /var/run/docker.sock:/var/run/docker.sock
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
|
logging:
|
||||||
|
driver: loki
|
||||||
|
options:
|
||||||
|
loki-url: "https://lokidoki:vEGH5Z5siWgcDkNknvCVzPCyqhHSBJCBjeBRZJvxUP8SdgfxJ6AqCGutCWugGsx5@loki.mrdev023.fr/loki/api/v1/push"
|
||||||
|
mode: non-blocking
|
|
@ -15,6 +15,11 @@ services:
|
||||||
- "traefik.http.routers.whoami-secure.tls.certresolver=sslResolver"
|
- "traefik.http.routers.whoami-secure.tls.certresolver=sslResolver"
|
||||||
- "traefik.http.routers.whoami-secure.middlewares=private-network@file"
|
- "traefik.http.routers.whoami-secure.middlewares=private-network@file"
|
||||||
- "traefik.docker.network=proxy"
|
- "traefik.docker.network=proxy"
|
||||||
|
logging:
|
||||||
|
driver: loki
|
||||||
|
options:
|
||||||
|
loki-url: "https://lokidoki:vEGH5Z5siWgcDkNknvCVzPCyqhHSBJCBjeBRZJvxUP8SdgfxJ6AqCGutCWugGsx5@loki.mrdev023.fr/loki/api/v1/push"
|
||||||
|
mode: non-blocking
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
proxy:
|
proxy:
|
||||||
|
|
|
@ -49,6 +49,11 @@ services:
|
||||||
proxy: {}
|
proxy: {}
|
||||||
vpn:
|
vpn:
|
||||||
ipv4_address: {{ server.vpn.dns_ip }}
|
ipv4_address: {{ server.vpn.dns_ip }}
|
||||||
|
logging:
|
||||||
|
driver: loki
|
||||||
|
options:
|
||||||
|
loki-url: "https://lokidoki:vEGH5Z5siWgcDkNknvCVzPCyqhHSBJCBjeBRZJvxUP8SdgfxJ6AqCGutCWugGsx5@loki.mrdev023.fr/loki/api/v1/push"
|
||||||
|
mode: non-blocking
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
proxy:
|
proxy:
|
||||||
|
|
Loading…
Reference in a new issue