feat: added template + linting

This commit is contained in:
sujiba 2024-05-05 14:00:09 +02:00
parent e487af8136
commit dc5a9d3653
17 changed files with 79 additions and 53 deletions

View file

@ -1,4 +1,4 @@
version: "3" ---
services: services:
### Downloader - Usenet ### Downloader - Usenet
sabnzbd: sabnzbd:

View file

@ -1,4 +1,4 @@
version: "3" ---
services: services:
### Downloader - Usenet ### Downloader - Usenet
sabnzbd: sabnzbd:
@ -51,7 +51,7 @@ services:
restart: unless-stopped restart: unless-stopped
### Content Request Management ### Content Request Management
#jellyseerr: # jellyseerr:
# image: fallenbagel/jellyseerr:latest # image: fallenbagel/jellyseerr:latest
# container_name: jellyseerr # container_name: jellyseerr
# environment: # environment:
@ -63,4 +63,3 @@ services:
# ports: # ports:
# - 5055:5055 # - 5055:5055
# restart: unless-stopped # restart: unless-stopped

View file

@ -1,3 +1,4 @@
---
# Copyright 2023 The Forgejo Authors. # Copyright 2023 The Forgejo Authors.
# SPDX-License-Identifier: MIT # SPDX-License-Identifier: MIT
@ -12,15 +13,12 @@
# as a shared secret. # as a shared secret.
# #
# Replace {ROOT_PASSWORD} with a secure password # Replace {ROOT_PASSWORD} with a secure password
version: "3"
services: services:
# https://code.forgejo.org/forgejo/runner/src/branch/main/examples/docker-compose # https://code.forgejo.org/forgejo/runner/src/branch/main/examples/docker-compose
docker-in-docker: docker-in-docker:
image: docker:dind image: docker:dind
privileged: true privileged: true
command: [ "dockerd", "-H", "tcp://0.0.0.0:2375", "--tls=false" ] command: ["dockerd", "-H", "tcp://0.0.0.0:2375", "--tls=false"]
forgejo: forgejo:
image: codeberg.org/forgejo/forgejo:1.21 image: codeberg.org/forgejo/forgejo:1.21

View file

@ -1,4 +1,4 @@
version: '3.8' ---
services: services:
homeassistant: homeassistant:
image: ghcr.io/home-assistant/home-assistant:stable image: ghcr.io/home-assistant/home-assistant:stable

View file

@ -1,4 +1,4 @@
version: "3.6" ---
services: services:
homepage: homepage:
image: ghcr.io/gethomepage/homepage:latest image: ghcr.io/gethomepage/homepage:latest

View file

@ -1,6 +1,4 @@
--- ---
version: '3.7'
services: services:
minio: minio:
image: quay.io/minio/minio image: quay.io/minio/minio

View file

@ -27,7 +27,7 @@ services:
volumes: volumes:
- ./volumes/nextcloud:/var/www/html - ./volumes/nextcloud:/var/www/html
ports: ports:
- "127.0.0.1:28080:80" - "127.0.0.1:28080:80"
environment: environment:
- MYSQL_HOST=nc_db - MYSQL_HOST=nc_db
- REDIS_HOST=nc_redis - REDIS_HOST=nc_redis

View file

@ -1,8 +1,29 @@
# ntfy # ntfy
After container startup place server.yml into volumes/ntfy: - [ntfy](#ntfy)
``` - [Directory structure](#directory-structure)
mv server.yml voluems/ntfy - [Config](#config)
docker compose restart ## Directory structure
```
/opt/docker/ntfy
.
├── docker-compose.yml
└── volumes
├── cache
└── ntfy
└── server.yml
```
## Config
```
# Edit ntfy config
vi server.yml
# Move file into ntfy directory
mv server.yml volumes/ntfy
# Start ntfy container
docker compose up -d
``` ```

View file

@ -1,7 +1,7 @@
---
services: services:
# https://docs.ntfy.sh/install/#docker
ntfy: ntfy:
# https://docs.ntfy.sh/install/#docker
image: binwiederhier/ntfy image: binwiederhier/ntfy
container_name: ntfy container_name: ntfy
command: command:
@ -15,9 +15,9 @@ services:
ports: ports:
- "127.0.0.1:11080:80" - "127.0.0.1:11080:80"
healthcheck: # optional: remember to adapt the host:port to your environment healthcheck: # optional: remember to adapt the host:port to your environment
test: ["CMD-SHELL", "wget -q --tries=1 http://localhost:80/v1/health -O - | grep -Eo '\"healthy\"\\s*:\\s*true' || exit 1"] test: ["CMD-SHELL", "wget -q --tries=1 http://localhost:80/v1/health -O - | grep -Eo '\"healthy\"\\s*:\\s*true' || exit 1"]
interval: 60s interval: 60s
timeout: 10s timeout: 10s
retries: 3 retries: 3
start_period: 40s start_period: 40s
restart: unless-stopped restart: unless-stopped

View file

@ -167,7 +167,7 @@ attachment-cache-dir: /var/cache/ntfy/attachments
# ntfy webpush keys # ntfy webpush keys
web-push-public-key: web-push-public-key:
web-push-private-key: web-push-private-key:
web-push-file: /var/cache/ntfy/webpush.db web-push-file: /var/cache/ntfy/webpush.db
web-push-email-address: hostmaster@exmaple.com web-push-email-address: hostmaster@exmaple.com
# web-push-startup-queries: # web-push-startup-queries:

View file

@ -1,4 +1,4 @@
version: "3.4" ---
services: services:
broker: broker:
image: redis:6.0 image: redis:6.0

View file

@ -28,9 +28,9 @@ services:
- ./etc-pihole/:/etc/pihole/ - ./etc-pihole/:/etc/pihole/
- ./etc-dnsmasq.d/:/etc/dnsmasq.d/ - ./etc-dnsmasq.d/:/etc/dnsmasq.d/
# You'll need this, if you are using a self-created network # You'll need this, if you are using a self-created network
#- ./resolv.conf:/etc/resolv.conf # - ./resolv.conf:/etc/resolv.conf
# Recommended but not required (DHCP needs NET_ADMIN) # Recommended but not required (DHCP needs NET_ADMIN)
# https://github.com/pi-hole/docker-pi-hole#note-on-capabilities # https://github.com/pi-hole/docker-pi-hole#note-on-capabilities
#cap_add: # cap_add:
#- NET_ADMIN # - NET_ADMIN
restart: unless-stopped restart: unless-stopped

View file

@ -1,6 +1,5 @@
version: '3.7' ---
services: services:
# https://github.com/librespeed/speedtest/blob/master/doc_docker.md # https://github.com/librespeed/speedtest/blob/master/doc_docker.md
speedtest: speedtest:
image: ghcr.io/librespeed/speedtest:latest image: ghcr.io/librespeed/speedtest:latest
@ -9,13 +8,13 @@ services:
MODE: standalone MODE: standalone
TITLE: "LibreSpeed" TITLE: "LibreSpeed"
TELEMETRY: "false" TELEMETRY: "false"
#ENABLE_ID_OBFUSCATION: "false" # ENABLE_ID_OBFUSCATION: "false"
#REDACT_IP_ADDRESSES: "false" # REDACT_IP_ADDRESSES: "false"
#PASSWORD: # PASSWORD:
#EMAIL: # EMAIL:
#DISABLE_IPINFO: "false" # DISABLE_IPINFO: "false"
#DISTANCE: "km" # DISTANCE: "km"
#WEBPORT: 80 # WEBPORT: 80
ports: ports:
- "127.0.0.1:8082:80" # webport mapping (host:container) - "127.0.0.1:8082:80" # webport mapping (host:container)
restart: unless-stopped restart: unless-stopped

View file

@ -1,6 +1,5 @@
version: "3" ---
services: services:
# https://docs.tandoor.dev/install/docker/ # https://docs.tandoor.dev/install/docker/
tandoor: tandoor:
image: vabene1111/recipes image: vabene1111/recipes

View file

@ -0,0 +1,12 @@
---
services:
service_name:
image:
container_name:
environment:
env_file:
command:
ports:
volumes:
depends_on:
restart: unless-stopped

View file

@ -1,4 +1,4 @@
version: '3.3' ---
services: services:
uptime-kuma: uptime-kuma:
image: louislam/uptime-kuma:latest image: louislam/uptime-kuma:latest
@ -7,4 +7,4 @@ services:
- ./volumes/data:/app/data - ./volumes/data:/app/data
ports: ports:
- 127.0.0.1:13001:3001 - 127.0.0.1:13001:3001
restart: always restart: unless-stopped

View file

@ -1,4 +1,4 @@
version: '3' ---
services: services:
vaultwarden: vaultwarden:
image: vaultwarden/server:latest image: vaultwarden/server:latest
@ -16,5 +16,5 @@ services:
ICON_CACHE_TTL: 0 ICON_CACHE_TTL: 0
ICON_SERVICE: 'internal' ICON_SERVICE: 'internal'
DISABLE_ICON_DOWNLOAD: 'true' DISABLE_ICON_DOWNLOAD: 'true'
#LOG_LEVEL: 'debug' # LOG_LEVEL: 'debug'
restart: unless-stopped restart: unless-stopped