-
Notifications
You must be signed in to change notification settings - Fork 348
New Version #737
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New Version #737
Changes from all commits
1e21b7e
758cf1d
47daea9
3e8b431
60796a9
1d70294
2e1fb3b
46dc5b9
ac07aa2
d58cc15
e66cad2
c697f54
b56d2b6
a91730e
3ec51b8
8ec4ad1
7efe222
bba48c0
88bff5f
daae16d
b4ebb8d
0fd2456
3205b67
f569d13
5905579
7834542
f78cc8d
abd316f
aa48af7
0aad2a0
c59fbf0
30ecc96
b7f7c9f
dcc456d
c0ff3ca
f3c1060
9e4da9c
640abda
385906a
eb41d83
6e1aece
a00b179
7c540d1
4c36b7d
0e84b28
b4efed2
a9740da
87ab908
4367e2a
40aa695
efea22e
32da868
be933bd
b23e332
54eccbe
726a8c6
76049e3
37dc848
7528f73
0438165
4757c59
dd8ef5b
e4ffe27
f5552b5
be3c7f2
211c2ae
7b02385
97159bd
9433dce
ee0e6fb
9501d5f
b3e62b4
8b579fb
b8984b9
294421a
2199d1d
7417972
7c2f0d4
1ead7d0
bce7326
51750f2
b2e9174
bc934d8
8c87c2d
8aa23fa
26fcbe3
3395913
ebcaed8
bba7033
c251041
f8952fb
67bba2a
64949ea
1d3fde3
6104321
2690ea1
853b643
c9e2a66
88d26c8
c2b2337
9292145
42df67f
131ae00
e00f7c0
911ed4b
6270665
16a7e0d
a4b7e93
f8e0725
178e11d
c3e83d7
1610536
e63a6d5
11ea20d
8d9c8d5
e0c0c54
e7b0034
a19303e
38e417b
4b2bc71
27564cd
2f24950
8deb82a
ebb526b
1c43fd5
c2531b9
be88eb9
58d4a57
691af52
d157cef
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,76 @@ | ||
| version: "3.8" | ||
| services: | ||
| imgproxy: | ||
| image: darthsim/imgproxy:v3.30.1 | ||
| restart: unless-stopped | ||
| environment: | ||
| IMGPROXY_KEY: ${IMGPROXY_KEY} | ||
| IMGPROXY_SALT: ${IMGPROXY_SALT} | ||
| IMGPROXY_ENABLE_WEBP_DETECTION: ${IMGPROXY_ENABLE_WEBP_DETECTION:-true} | ||
| IMGPROXY_ENFORCE_WEBP: ${IMGPROXY_ENFORCE_WEBP:-true} | ||
| IMGPROXY_TTL: ${IMGPROXY_TTL:-30600} | ||
| IMGPROXY_DEVELOPMENT_ERRORS_MODE: ${IMGPROXY_DEVELOPMENT_ERRORS_MODE:-false} | ||
| IMGPROXY_READ_TIMEOUT: ${IMGPROXY_READ_TIMEOUT:-10} | ||
| IMGPROXY_WRITE_TIMEOUT: ${IMGPROXY_WRITE_TIMEOUT:-10} | ||
| IMGPROXY_KEEP_ALIVE_TIMEOUT: ${IMGPROXY_KEEP_ALIVE_TIMEOUT:-10} | ||
| IMGPROXY_DOWNLOAD_TIMEOUT: ${IMGPROXY_DOWNLOAD_TIMEOUT:-5} | ||
| IMGPROXY_CONCURRENCY: ${IMGPROXY_CONCURRENCY:-} | ||
| IMGPROXY_MAX_CLIENTS: ${IMGPROXY_MAX_CLIENTS:-10} | ||
| IMGPROXY_SO_REUSEPORT: ${IMGPROXY_SO_REUSEPORT:-} | ||
| IMGPROXY_USER_AGENT: ${IMGPROXY_USER_AGENT:-} | ||
| IMGPROXY_USE_ETAG: ${IMGPROXY_USE_ETAG:-true} | ||
| IMGPROXY_QUALITY: ${IMGPROXY_QUALITY:-80} | ||
| IMGPROXY_ALLOWED_SOURCES: ${IMGPROXY_ALLOWED_SOURCES} | ||
| IMGPROXY_ALLOW_ORIGIN: ${IMGPROXY_ALLOW_ORIGIN:-*} | ||
| IMGPROXY_MAX_SRC_FILE_SIZE: ${IMGPROXY_MAX_SRC_FILE_SIZE:-20971520} | ||
| IMGPROXY_MAX_SRC_RESOLUTION: ${IMGPROXY_MAX_SRC_RESOLUTION:-50} | ||
| IMGPROXY_LOG_LEVEL: ${IMGPROXY_LOG_LEVEL:-error} | ||
|
|
||
| nginx: | ||
| image: nginx:1.28.2-alpine | ||
| restart: unless-stopped | ||
| expose: | ||
| - 80 | ||
| environment: | ||
| NGINX_CACHE_LEVELS: ${NGINX_CACHE_LEVELS:-1:2} | ||
| NGINX_CACHE_KEYS_ZONE_SIZE: ${NGINX_CACHE_KEYS_ZONE_SIZE:-32m} | ||
| NGINX_CACHE_MAX_SIZE: ${NGINX_CACHE_MAX_SIZE:-500m} | ||
| NGINX_CACHE_INACTIVE: ${NGINX_CACHE_INACTIVE:-30d} | ||
| NGINX_CACHE_USE_TEMP_PATH: ${NGINX_CACHE_USE_TEMP_PATH:-off} | ||
| NGINX_CACHE_EXPIRES: ${NGINX_CACHE_EXPIRES:-30d} | ||
| depends_on: | ||
| - imgproxy | ||
| volumes: | ||
| - nginx-cache:/tmp/cache | ||
| command: | ||
| - /bin/sh | ||
| - -c | ||
| - | | ||
| cat <<EOF > /etc/nginx/conf.d/default.conf | ||
| proxy_cache_path /tmp/cache levels=$${NGINX_CACHE_LEVELS} keys_zone=my_cache:$${NGINX_CACHE_KEYS_ZONE_SIZE} max_size=$${NGINX_CACHE_MAX_SIZE} inactive=$${NGINX_CACHE_INACTIVE} use_temp_path=$${NGINX_CACHE_USE_TEMP_PATH}; | ||
|
|
||
| server { | ||
| listen 80 default_server; | ||
| listen [::]:80 default_server; | ||
|
|
||
| location / { | ||
| expires $${NGINX_CACHE_EXPIRES}; | ||
| access_log off; | ||
| set \$$handle_webp 0; | ||
| if (\$$http_accept ~* "image/webp") { | ||
| set \$$handle_webp 1; | ||
| } | ||
| proxy_cache my_cache; | ||
| proxy_cache_use_stale error timeout updating http_500 http_502 http_503 http_504; | ||
| proxy_cache_background_update on; | ||
| proxy_cache_lock on; | ||
| proxy_cache_key "\$$scheme\$$host\$$uri\$$handle_webp"; | ||
| server_tokens off; | ||
| proxy_pass http://imgproxy:8080; | ||
| } | ||
| } | ||
| EOF | ||
| exec nginx -g 'daemon off;' | ||
|
|
||
| volumes: | ||
| nginx-cache: |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,56 @@ | ||
| [variables] | ||
| main_domain = "${domain}" | ||
| imgproxy_key = "${hash:128}" | ||
| imgproxy_salt = "${hash:128}" | ||
| imgproxy_allowed_sources = "http://${main_domain},https://${main_domain}" | ||
| imgproxy_quality = "80" | ||
| imgproxy_ttl = "30600" | ||
| imgproxy_max_src_file_size = "20971520" | ||
| imgproxy_max_src_resolution = "50" | ||
| imgproxy_log_level = "error" | ||
| imgproxy_max_clients = "10" | ||
| imgproxy_allow_origin = "*" | ||
| imgproxy_enable_webp_detection = "true" | ||
| imgproxy_enforce_webp = "true" | ||
| imgproxy_use_etag = "true" | ||
| nginx_cache_levels = "1:2" | ||
| nginx_cache_keys_zone_size = "32m" | ||
| nginx_cache_max_size = "500m" | ||
| nginx_cache_inactive = "30d" | ||
| nginx_cache_use_temp_path = "off" | ||
| nginx_cache_expires = "30d" | ||
|
|
||
| [config] | ||
| [[config.domains]] | ||
| serviceName = "nginx" | ||
| port = 80 | ||
| host = "${main_domain}" | ||
|
|
||
| [config.env] | ||
| IMGPROXY_KEY = "${imgproxy_key}" | ||
| IMGPROXY_SALT = "${imgproxy_salt}" | ||
| IMGPROXY_ENABLE_WEBP_DETECTION = "${imgproxy_enable_webp_detection}" | ||
| IMGPROXY_ENFORCE_WEBP = "${imgproxy_enforce_webp}" | ||
| IMGPROXY_TTL = "${imgproxy_ttl}" | ||
| IMGPROXY_DEVELOPMENT_ERRORS_MODE = "false" | ||
| IMGPROXY_READ_TIMEOUT = "10" | ||
| IMGPROXY_WRITE_TIMEOUT = "10" | ||
| IMGPROXY_KEEP_ALIVE_TIMEOUT = "10" | ||
| IMGPROXY_DOWNLOAD_TIMEOUT = "5" | ||
| IMGPROXY_CONCURRENCY = "" | ||
| IMGPROXY_MAX_CLIENTS = "${imgproxy_max_clients}" | ||
| IMGPROXY_SO_REUSEPORT = "" | ||
| IMGPROXY_USER_AGENT = "" | ||
| IMGPROXY_USE_ETAG = "${imgproxy_use_etag}" | ||
| IMGPROXY_QUALITY = "${imgproxy_quality}" | ||
| IMGPROXY_ALLOWED_SOURCES = "${imgproxy_allowed_sources}" | ||
| IMGPROXY_ALLOW_ORIGIN = "${imgproxy_allow_origin}" | ||
| IMGPROXY_MAX_SRC_FILE_SIZE = "${imgproxy_max_src_file_size}" | ||
| IMGPROXY_MAX_SRC_RESOLUTION = "${imgproxy_max_src_resolution}" | ||
| IMGPROXY_LOG_LEVEL = "${imgproxy_log_level}" | ||
| NGINX_CACHE_LEVELS = "${nginx_cache_levels}" | ||
| NGINX_CACHE_KEYS_ZONE_SIZE = "${nginx_cache_keys_zone_size}" | ||
| NGINX_CACHE_MAX_SIZE = "${nginx_cache_max_size}" | ||
| NGINX_CACHE_INACTIVE = "${nginx_cache_inactive}" | ||
| NGINX_CACHE_USE_TEMP_PATH = "${nginx_cache_use_temp_path}" | ||
| NGINX_CACHE_EXPIRES = "${nginx_cache_expires}" |
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -0,0 +1,18 @@ | ||||||
| version: "3.8" | ||||||
| services: | ||||||
| mediafetch: | ||||||
| image: lukedunsmoto/mediafetch:latest | ||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Version mismatch between image tag and meta.json
Suggested change
Context Used: Rule from |
||||||
| restart: unless-stopped | ||||||
| expose: | ||||||
| - "3002" | ||||||
| volumes: | ||||||
| - mediafetch_data:/data/downloads | ||||||
| environment: | ||||||
| - PORT=3002 | ||||||
| - BASIC_AUTH_USER=${BASIC_AUTH_USER} | ||||||
| - BASIC_AUTH_PASS=${BASIC_AUTH_PASS} | ||||||
| - PUBLIC_BASE_URL=https://${DOMAIN} | ||||||
| - OUTPUT_DIR=/data/downloads | ||||||
|
|
||||||
| volumes: | ||||||
| mediafetch_data: | ||||||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,15 @@ | ||
| [variables] | ||
| BASIC_AUTH_USER = "admin" | ||
| BASIC_AUTH_PASS = "${password:12}" | ||
|
|
||
| [config] | ||
| [[config.domains]] | ||
| name = "Domain" | ||
| variable = "DOMAIN" | ||
| serviceName = "mediafetch" | ||
| port = 3002 | ||
|
|
||
| [[config.mounts]] | ||
| name = "Downloads" | ||
| filePath = "/data/downloads" | ||
| content = "mediafetch" |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,32 +1,34 @@ | ||
| services: | ||
| nextcloud: | ||
| image: nextcloud:32.0.5 | ||
| image: nextcloud:stable | ||
| restart: always | ||
|
|
||
| ports: | ||
| - 80 | ||
| volumes: | ||
| - nextcloud_data:/var/www/html | ||
| - ../files/fix-nextcloud.sh:/usr/local/bin/fix-nextcloud.sh:ro | ||
| environment: | ||
| - NEXTCLOUD_TRUSTED_DOMAINS=${NEXTCLOUD_DOMAIN} | ||
| - MYSQL_HOST=nextcloud_db | ||
| - MYSQL_DATABASE=nextcloud | ||
| - MYSQL_USER=nextcloud | ||
| - MYSQL_PASSWORD=${MYSQL_SECRET_PASSWORD} | ||
| - OVERWRITEPROTOCOL=https | ||
| - MYSQL_PASSWORD=${MYSQL_PASSWORD} | ||
| depends_on: | ||
| - nextcloud_db | ||
| - nextcloud_redis | ||
|
|
||
| nextcloud_db: | ||
| image: mariadb | ||
| image: mariadb:10.11 | ||
| restart: always | ||
|
|
||
| volumes: | ||
| - nextcloud_db_data:/var/lib/mysql | ||
| environment: | ||
| - MYSQL_ROOT_PASSWORD=${MYSQL_SECRET_PASSWORD_ROOT} | ||
| - MYSQL_ROOT_PASSWORD=${MYSQL_ROOT_PASSWORD} | ||
| - MYSQL_DATABASE=nextcloud | ||
| - MYSQL_USER=nextcloud | ||
| - MYSQL_PASSWORD=${MYSQL_SECRET_PASSWORD} | ||
| - MYSQL_PASSWORD=${MYSQL_PASSWORD} | ||
|
|
||
| nextcloud_redis: | ||
| image: redis:alpine | ||
| restart: always | ||
|
|
||
| volumes: | ||
| nextcloud_data: | ||
| nextcloud_db_data: | ||
| nextcloud_db_data: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Version mismatch and unpinned
latesttagmeta.jsonstill has"version": "v2.1.2"forevolutionapi, but the image was changed toevoapicloud/evolution-api:latest. This violates theAGENTS.mdrequirement that theversionfield must match the image tag. Additionally, usinglatestmeans users will silently receive unverified future updates.Please pin to a specific version tag and update
meta.jsonto match.Context Used: Rule from
dashboard- AGENTS.md (source)