Websoft9 / docker-library

Docker Compose examples of selfhosted FOSS based on official image, just run it.
https://www.websoft9.com
Other
36 stars 25 forks source link

Update version to [v1.48] for [appsmith] ¥10 #956

Open qiaofeng1227 opened 6 days ago

qiaofeng1227 commented 6 days ago

What type of your feature request?

Change the W9_VERSION to target version number at .env and test it

Research and development steps your need to do

How to commit your change to docker-library?

   docker exec -it websoft9-apphub bash
   apphub commit --appid --github_token

Testing steps

jinsheng200303 commented 6 days ago

docker logs

docker logs appsmith_v9uj1
2024-11-20T08:46:40.560Z Running as: uid=0(root) gid=0(root) groups=0(root)
mkdir: created directory '/tmp/appsmith'
mkdir: created directory '/tmp/appsmith/supervisor-conf.d/'
mkdir: created directory '/tmp/appsmith/www'
2024-11-20T08:46:40.568Z Initialize .env file
2024-11-20T08:46:40.570Z Generating default configuration file
2024-11-20T08:46:40.585Z Load environment configuration
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   172  100    21  100   151     33    237 --:--:-- --:--:-- --:--:--   270
{
  "success": true
{"level":"info","ts":1732092402.3301744,"msg":"using config from file","file":"/tmp/appsmith/Caddyfile"}
{"level":"info","ts":1732092402.3326645,"msg":"adapted config to JSON","adapter":"caddyfile"}
{"level":"info","ts":1732092402.3337686,"logger":"admin","msg":"admin endpoint started","address":"0.0.0.0:2019","enforce_origin":false,"origins":["//0.0.0.0:2019"]}
{"level":"warn","ts":1732092402.3337812,"logger":"admin","msg":"admin endpoint on open interface; host checking disabled","address":"0.0.0.0:2019"}
{"level":"info","ts":1732092402.3341007,"logger":"tls.cache.maintenance","msg":"started background certificate maintenance","cache":"0xc00028e980"}
{"level":"warn","ts":1732092402.3387172,"logger":"http.auto_https","msg":"server is listening only on the HTTP port, so no automatic HTTPS will be applied to this server","server_name":"srv0","http_port":80}
{"level":"debug","ts":1732092402.3387485,"logger":"http.auto_https","msg":"adjusted config","tls":{"automation":{"policies":[{}]}},"http":{"servers":{"srv0":{"listen":[":80"],"routes":[{"handle":[{"handler":"vars","root":"/opt/appsmith/editor"}]},{"handle":[{"handler":"vars","log_skip":true}]},{"handle":[{"handler":"vars","log_skip":true}]},{"handle":[{"handler":"headers","response":{"set":{"X-Request-Id":["{http.request.header.X-Request-Id}"]}}}]},{"handle":[{"handler":"headers","response":{"set":{"X-Request-Id":["invalid_request_id"]}}}]},{"handle":[{"handler":"headers","response":{"set":{"Cache-Control":["public, max-age=31536000, immutable"]}}}]},{"handle":[{"handler":"headers","response":{"deferred":true,"delete":["Server"],"set":{"Content-Security-Policy":["frame-ancestors 'self' *"],"X-Appsmith-Request-Id":["{http.request.uuid}"],"X-Content-Type-Options":["nosniff"]}}},{"handler":"request_body","max_size":150000000}]},{"handle":[{"handler":"static_response","headers":{"Location":["/supervisor/"]},"status_code":302}]},{"handle":[{"handler":"rate_limit","rate_limits":{"dynamic_zone":{"key":"{http.request.client_ip}","max_events":100,"window":1000000000}}}]},{"handle":[{"handler":"headers","request":{"set":{"X-Request-Id":["invalid_request_id"]}}}]},{"handle":[{"handler":"headers","request":{"delete":["X-Appsmith-Request-Id"]}}]},{"group":"group8","handle":[{"handler":"subroute","routes":[{"handle":[{"canonical_uris":false,"handler":"file_server","hide":["/tmp/appsmith/Caddyfile"],"precompressed":{"br":{},"gzip":{}},"precompressed_order":["br","gzip"]}]}]}]},{"group":"group8","handle":[{"handler":"subroute","routes":[{"handle":[{"handler":"error","status_code":404}]}]}]},{"group":"group8","handle":[{"handler":"subroute","routes":[{"handle":[{"handler":"vars","root":"/opt/appsmith"}]},{"group":"group3","handle":[{"handler":"rewrite","uri":"/info.json"}]},{"handle":[{"canonical_uris":false,"handler":"file_server","hide":["/tmp/appsmith/Caddyfile"],"precompressed":{"br":{},"gzip":{}},"precompressed_order":["br","gzip"]}]}]}]},{"group":"group8","handle":[{"handler":"subroute","routes":[{"handle":[{"handler":"reverse_proxy","headers":{"request":{"delete":["Forwarded"],"set":{"X-Appsmith-Request-Id":["{http.request.uuid}"]}}},"upstreams":[{"dial":"127.0.0.1:8080"}]}]}]}]},{"group":"group8","handle":[{"handler":"subroute","routes":[{"handle":[{"handler":"rewrite","strip_path_prefix":"/supervisor"}]},{"handle":[{"handler":"reverse_proxy","headers":{"request":{"delete":["Forwarded"],"set":{"X-Appsmith-Request-Id":["{http.request.uuid}"]}}},"upstreams":[{"dial":"127.0.0.1:9001"}]}]}]}]},{"group":"group8","handle":[{"handler":"subroute","routes":[{"handle":[{"handler":"reverse_proxy","headers":{"request":{"delete":["Forwarded"],"set":{"X-Appsmith-Request-Id":["{http.request.uuid}"]}}},"upstreams":[{"dial":"127.0.0.1:8091"}]}]}]}]},{"group":"group8","handle":[{"handler":"subroute","routes":[{"handle":[{"handler":"vars","root":"/tmp/appsmith/www"}]},{"handle":[{"handler":"rewrite","uri":"{http.matchers.file.relative}"}],"match":[{"file":{"try_files":["/loading.html","/index.html"]}}]},{"handle":[{"canonical_uris":false,"handler":"file_server","hide":["/tmp/appsmith/Caddyfile"],"precompressed":{"br":{},"gzip":{}},"precompressed_order":["br","gzip"]}]}]}]}],"errors":{"routes":[{"handle":[{"handler":"headers","response":{"deferred":true,"delete":["Server","Cache-Control"]}},{"body":"{http.error.status_code} {http.error.status_text}","handler":"static_response","status_code":"{http.error.status_code}"}]}]},"automatic_https":{"disable":true},"trusted_proxies":{"ranges":["0.0.0.0/0"],"source":"static"},"logs":{"default_logger_name":"log0"},"metrics":{}}}}}
{"level":"debug","ts":1732092402.3396037,"logger":"http","msg":"starting server loop","address":"[::]:80","tls":false,"http3":false}
{"level":"info","ts":1732092402.3396246,"logger":"http.log","msg":"server running","name":"srv0","protocols":["h1","h2","h3"]}
{"level":"info","ts":1732092402.3396308,"msg":"serving initial configuration"}
}{   "commitSha": "7c3c28d7d7f28366c6fd24e7417e1717798dba3a",   "commitUrl": "https://github.com/appsmithorg/appsmith/commit/7c3c28d7d7f28366c6fd24e7417e1717798dba3a",   "githubRef": "refs/tags/v1.48",   "githubRunUrl": "https://github.com/appsmithorg/appsmith/actions/runs/11740063149/attempts/1",   "version": "v1.48",   "imageBuiltAt": "2024-11-08T10:19:25+00:00",   "isCI": true } Successfully started Caddy (pid=83) - Caddy is running in the background
{"level":"info","ts":1732092402.3436534,"logger":"tls","msg":"cleaning storage unit","storage":"FileStorage:/appsmith-stacks/data/caddy"}
{"level":"info","ts":1732092402.3438985,"logger":"tls","msg":"finished cleaning storage units"}
2024-11-20T08:46:42.343Z Checking environment configuration
2024-11-20T08:46:42.346Z Configuring database connection URL
2024-11-20T08:46:42.348Z Checking APPSMITH_DB_URL
2024-11-20T08:46:42.350Z Detected local DB
2024-11-20T08:46:42.352Z Initializing MongoDB
2024-11-20T08:46:42.354Z Initializing local database
'/appsmith-stacks/data/mongodb/key' -> '/tmp/appsmith/mongodb-key'
2024-11-20T08:46:42.372Z Checking initialized database
2024-11-20T08:46:42.374Z Initializing Replica Set for local database
about to fork child process, waiting until server is ready for connections.
forked process: 121
child process started successfully, parent exiting
2024-11-20T08:46:43.020Z Waiting 10s for MongoDB to start
2024-11-20T08:46:53.023Z Creating MongoDB user
{ ok: 1 }
2024-11-20T08:46:53.634Z Enabling Replica Set
{"t":{"$date":"2024-11-20T08:46:53.654+00:00"},"s":"I",  "c":"CONTROL",  "id":23285,   "ctx":"-","msg":"Automatically disabling TLS 1.0, to force-enable TLS 1.0 specify --sslDisabledProtocols 'none'"}
{"t":{"$date":"2024-11-20T08:46:53.656+00:00"},"s":"I",  "c":"NETWORK",  "id":4915701, "ctx":"main","msg":"Initialized wire specification","attr":{"spec":{"incomingExternalClient":{"minWireVersion":0,"maxWireVersion":13},"incomingInternalClient":{"minWireVersion":0,"maxWireVersion":13},"outgoing":{"minWireVersion":0,"maxWireVersion":13},"isInternalClient":true}}}
{"t":{"$date":"2024-11-20T08:46:53.656+00:00"},"s":"W",  "c":"ASIO",     "id":22601,   "ctx":"main","msg":"No TransportLayer configured during NetworkInterface startup"}
{"t":{"$date":"2024-11-20T08:46:53.656+00:00"},"s":"I",  "c":"NETWORK",  "id":4648601, "ctx":"main","msg":"Implicit TCP FastOpen unavailable. If TCP FastOpen is required, set tcpFastOpenServer, tcpFastOpenClient, and tcpFastOpenQueueSize."}
{"t":{"$date":"2024-11-20T08:46:53.657+00:00"},"s":"W",  "c":"ASIO",     "id":22601,   "ctx":"main","msg":"No TransportLayer configured during NetworkInterface startup"}
{"t":{"$date":"2024-11-20T08:46:53.657+00:00"},"s":"I",  "c":"REPL",     "id":5123008, "ctx":"main","msg":"Successfully registered PrimaryOnlyService","attr":{"service":"TenantMigrationDonorService","ns":"config.tenantMigrationDonors"}}
{"t":{"$date":"2024-11-20T08:46:53.657+00:00"},"s":"I",  "c":"REPL",     "id":5123008, "ctx":"main","msg":"Successfully registered PrimaryOnlyService","attr":{"service":"TenantMigrationRecipientService","ns":"config.tenantMigrationRecipients"}}
killing process with pid: 121
about to fork child process, waiting until server is ready for connections.
forked process: 212
child process started successfully, parent exiting
2024-11-20T08:46:55.740Z Waiting 10s for MongoDB to start with Replica Set
{
  info2: 'no configuration specified. Using a default configuration for the set',
  me: 'localhost:27017',
  ok: 1
}
{"t":{"$date":"2024-11-20T08:47:07.280+00:00"},"s":"I",  "c":"CONTROL",  "id":23285,   "ctx":"-","msg":"Automatically disabling TLS 1.0, to force-enable TLS 1.0 specify --sslDisabledProtocols 'none'"}
{"t":{"$date":"2024-11-20T08:47:07.280+00:00"},"s":"I",  "c":"NETWORK",  "id":4915701, "ctx":"-","msg":"Initialized wire specification","attr":{"spec":{"incomingExternalClient":{"minWireVersion":0,"maxWireVersion":13},"incomingInternalClient":{"minWireVersion":0,"maxWireVersion":13},"outgoing":{"minWireVersion":0,"maxWireVersion":13},"isInternalClient":true}}}
{"t":{"$date":"2024-11-20T08:47:07.280+00:00"},"s":"W",  "c":"ASIO",     "id":22601,   "ctx":"main","msg":"No TransportLayer configured during NetworkInterface startup"}
{"t":{"$date":"2024-11-20T08:47:07.280+00:00"},"s":"I",  "c":"NETWORK",  "id":4648601, "ctx":"main","msg":"Implicit TCP FastOpen unavailable. If TCP FastOpen is required, set tcpFastOpenServer, tcpFastOpenClient, and tcpFastOpenQueueSize."}
{"t":{"$date":"2024-11-20T08:47:07.281+00:00"},"s":"W",  "c":"ASIO",     "id":22601,   "ctx":"main","msg":"No TransportLayer configured during NetworkInterface startup"}
{"t":{"$date":"2024-11-20T08:47:07.281+00:00"},"s":"I",  "c":"REPL",     "id":5123008, "ctx":"main","msg":"Successfully registered PrimaryOnlyService","attr":{"service":"TenantMigrationDonorService","ns":"config.tenantMigrationDonors"}}
{"t":{"$date":"2024-11-20T08:47:07.281+00:00"},"s":"I",  "c":"REPL",     "id":5123008, "ctx":"main","msg":"Successfully registered PrimaryOnlyService","attr":{"service":"TenantMigrationRecipientService","ns":"config.tenantMigrationRecipients"}}
killing process with pid: 212
Clearing symlinks in /etc/ssl/certs...
done.
Updating certificates in /etc/ssl/certs...
rehash: warning: skipping ca-certificates.crt,it does not contain exactly one certificate or CRL
146 added, 0 removed; done.
Running hooks in /etc/ca-certificates/update.d...
done.
2024-11-20T08:47:13.039Z No custom CA certificates found.
2024-11-20T08:47:13.044Z Redis is compatible with page size of 4096
2024-11-20T08:47:13.047Z Checking initialized local postgres
2024-11-20T08:47:13.057Z Initializing local Postgres data folder
The files belonging to this database system will be owned by user "postgres".
This user must also own the server process.

The database cluster will be initialized with locale "C.UTF-8".
The default database encoding has accordingly been set to "UTF8".
The default text search configuration will be set to "english".

Data page checksums are disabled.

fixing permissions on existing directory /appsmith-stacks/data/postgres/main ... ok
creating subdirectories ... ok
selecting dynamic shared memory implementation ... posix
selecting default max_connections ... 100
selecting default shared_buffers ... 128MB
selecting default time zone ... Etc/UTC
creating configuration files ... ok
running bootstrap script ... ok
{"level":"debug","ts":1732092434.202088,"logger":"http.handlers.rewrite","msg":"rewrote request","request":{"remote_ip":"172.18.0.4","remote_port":"51740","client_ip":"175.9.231.95","proto":"HTTP/1.1","method":"GET","host":"appsmith.test2.websoft9.cn","uri":"/","headers":{"X-Request-Id":["invalid_request_id"],"User-Agent":["Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36"],"Accept":["text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7"],"Accept-Encoding":["gzip, deflate"],"Cookie":["REDACTED"],"If-None-Match":["\"d5qv46uhe33y1u7\""],"X-Real-Ip":["175.9.231.95"],"Connection":["upgrade"],"Upgrade-Insecure-Requests":["1"],"X-Forwarded-Scheme":["http"],"X-Forwarded-Proto":["http"],"X-Forwarded-For":["175.9.231.95"],"Accept-Language":["zh-CN,zh;q=0.9"],"If-Modified-Since":["Wed, 20 Nov 2024 08:28:03 GMT"]}},"method":"GET","uri":"/loading.html"}
{"level":"debug","ts":1732092434.2022114,"logger":"http.handlers.file_server","msg":"sanitized path join","site_root":"/tmp/appsmith/www","fs":"","request_path":"/loading.html","result":"/tmp/appsmith/www/loading.html"}
{"level":"debug","ts":1732092434.2022614,"logger":"http.handlers.file_server","msg":"precompressed file not accessible","filename":"/tmp/appsmith/www/loading.html.gz","error":"open /tmp/appsmith/www/loading.html.gz: no such file or directory"}
{"level":"debug","ts":1732092434.20229,"logger":"http.handlers.file_server","msg":"opening file","filename":"/tmp/appsmith/www/loading.html"}
performing post-bootstrap initialization ... {"level":"info","ts":1732092434.2059345,"logger":"http.log.access.log0","msg":"handled request","request":{"remote_ip":"172.18.0.4","remote_port":"51740","client_ip":"175.9.231.95","proto":"HTTP/1.1","method":"GET","host":"appsmith.test2.websoft9.cn","uri":"/","headers":{"X-Forwarded-For":["175.9.231.95"],"Accept-Language":["zh-CN,zh;q=0.9"],"If-Modified-Since":["Wed, 20 Nov 2024 08:28:03 GMT"],"User-Agent":["Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36"],"Accept":["text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7"],"Accept-Encoding":["gzip, deflate"],"Cookie":["REDACTED"],"If-None-Match":["\"d5qv46uhe33y1u7\""],"Upgrade-Insecure-Requests":["1"],"X-Forwarded-Scheme":["http"],"X-Forwarded-Proto":["http"],"X-Real-Ip":["175.9.231.95"],"Connection":["upgrade"]}},"bytes_read":0,"user_id":"","duration":0.004075912,"size":2026,"status":200,"resp_headers":{"Etag":["\"d5qvigl6izgm1ka\""],"Content-Type":["text/html; charset=utf-8"],"Last-Modified":["Wed, 20 Nov 2024 08:46:42 GMT"],"Content-Length":["2026"],"X-Appsmith-Request-Id":["da0f1f5f-ac3b-4702-afad-145d303d9e7e"],"X-Content-Type-Options":["nosniff"],"X-Request-Id":["invalid_request_id"],"Content-Security-Policy":["frame-ancestors 'self' *"],"Vary":["Accept-Encoding"],"Accept-Ranges":["bytes"]},"uuid":"da0f1f5f-ac3b-4702-afad-145d303d9e7e"}
ok
syncing data to disk ... ok

Success. You can now start the database server using:

    pg_ctl -D /appsmith-stacks/data/postgres/main -l logfile start

screenshoot

image image image image