{"id":26878912,"url":"https://github.com/logicify/docker-squash-tm","last_synced_at":"2025-10-27T18:04:22.199Z","repository":{"id":36411070,"uuid":"40716012","full_name":"Logicify/docker-squash-tm","owner":"Logicify","description":null,"archived":false,"fork":false,"pushed_at":"2017-03-06T11:02:08.000Z","size":8,"stargazers_count":7,"open_issues_count":0,"forks_count":3,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-05-07T17:49:30.021Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Logicify.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-08-14T13:21:57.000Z","updated_at":"2025-02-09T09:27:29.000Z","dependencies_parsed_at":"2022-09-04T03:50:34.291Z","dependency_job_id":null,"html_url":"https://github.com/Logicify/docker-squash-tm","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/Logicify/docker-squash-tm","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Logicify%2Fdocker-squash-tm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Logicify%2Fdocker-squash-tm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Logicify%2Fdocker-squash-tm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Logicify%2Fdocker-squash-tm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Logicify","download_url":"https://codeload.github.com/Logicify/docker-squash-tm/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Logicify%2Fdocker-squash-tm/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":281314736,"owners_count":26480036,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-27T02:00:05.855Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-03-31T12:30:47.870Z","updated_at":"2025-10-27T18:04:22.183Z","avatar_url":"https://github.com/Logicify.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# squash-tm\n\n## Configuration\n\nYou may whant to set the following environment variables:\n\n```\nDB_URL: jdbc:postgresql://DB-HOST:5432/DB-NAME\nDB_USERNAME: user-name\nDB_PASSWORD: your-password\nDB_DIALECT: org.hibernate.dialect.PostgreSQLDialect\nDB_DRIVER: org.postgresql.Driver\n```\n\nAlso there are a few locations you may whant to mount as volumes:\n\n```\n/srv/squash-tm/tmp                         # Jetty tmp and work directory\n/srv/squash-tm/bundles                     # Bundles directory\n/srv/squash-tm/conf                        # Configurations directory\n/srv/squash-tm/logs                        # Log directory\n/srv/squash-tm/jettyhome                   # Jetty home directory\n/srv/squash-tm/luceneindexes               # Lucene indexes directory\n/srv/squash-tm/plugins                     # Plugins directory\n```\n\n## Preparation for the first run\n\nIf you are going to use Postgres database you need to prepare DB and schema.\n\nRun bash command on this image/container. e.g:\n\n```\ndocker run --rm -it logicify/squash-tm /bin/bash\n```\n\nand issue the following:\n\n```\npsql -h \u003cDBHOST HERE\u003e --user $DB_USER $DB_NAME \u003c ../database-scripts/postgresql-full-install-version-1.14.0.RELEASE.sql\n```\n\n## Docker compose example\n\nHere is an example of the configuration using docker compose. Which starts an app on the port ```8012``` using external postgres databse (separate container):\n\n```\npostgres:\n  build: postgres:9.4.1\n  expose:\n    - 5432\n  volumes:\n    - ./data-postgres:/var/lib/postgresql/data\n\n\nsquashtm:\n  image: logicify/squash-tm:latest\n  ports:\n    - \"8012:8080\"\n  environment:\n    DB_URL: jdbc:postgresql://postgres:5432/squashtm\n    DB_USERNAME: squashtm\n    DB_PASSWORD: your-password\n    DB_DIALECT: org.hibernate.dialect.PostgreSQLDialect\n    DB_DRIVER: org.postgresql.Driver\n  links:\n    - postgres:postgres\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flogicify%2Fdocker-squash-tm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flogicify%2Fdocker-squash-tm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flogicify%2Fdocker-squash-tm/lists"}