{"id":19524084,"url":"https://github.com/shyim/tanjun","last_synced_at":"2025-07-28T00:32:35.148Z","repository":{"id":258307495,"uuid":"869620592","full_name":"shyim/tanjun","owner":"shyim","description":"Dockerized Deployment","archived":false,"fork":false,"pushed_at":"2025-07-15T04:06:47.000Z","size":707,"stargazers_count":18,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-15T08:48:15.408Z","etag":null,"topics":["docker"],"latest_commit_sha":null,"homepage":"https://tanjun.sh","language":"Go","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/shyim.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":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-10-08T15:48:29.000Z","updated_at":"2025-07-15T04:06:50.000Z","dependencies_parsed_at":"2024-10-27T13:29:49.782Z","dependency_job_id":"81f29cd2-cfaf-4e73-a819-3c111b1d1a5c","html_url":"https://github.com/shyim/tanjun","commit_stats":null,"previous_names":["shyim/tanjun"],"tags_count":12,"template":false,"template_full_name":null,"purl":"pkg:github/shyim/tanjun","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shyim%2Ftanjun","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shyim%2Ftanjun/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shyim%2Ftanjun/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shyim%2Ftanjun/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shyim","download_url":"https://codeload.github.com/shyim/tanjun/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shyim%2Ftanjun/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267446801,"owners_count":24088561,"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-07-27T02:00:11.917Z","response_time":82,"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":["docker"],"created_at":"2024-11-11T00:45:50.312Z","updated_at":"2025-07-28T00:32:35.102Z","avatar_url":"https://github.com/shyim.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Tanjun\n\nTanjun (which means Simple in Japanese)\nis a Dockerized Deployment Tool to deploy applications to external servers and cloud providers. \nIt is designed to be straightforward to use and keep everything simple for the user.\n\nIt's similar to [Kamal Deploy](https://kamal-deploy.org/) but with a different approach.\n\n## Requirements\n\nA external reachable server with Docker installed.\n\n## Installation\n\n```bash\nbrew install shyim/tap/tanjun\n```\n\nor download the binary from the [releases](https://github.com/shyim/tanjun/releases)\n\n## Commands\n\n- `tanjun init` - Initialize a new Tanjun project.\n- `tanjun setup` - Setup Proxy Server on the remote server (one time).\n- `tanjun deploy` - Deploy the current application to the remote server.\n- `tanjun destroy` - Destroy the current application on the remote server.\n- `tanjun shell` - Open a shell to the remote server contain your application.\n- `tanjun logs` - Show the logs of the application running on the remote server.\n- `tanjun forward` - Forward the port of the application running on the remote server to your local machine.\n\n## Example configuration\n\n```yaml\nserver:\n  # IP to your server\n  address: 127.0.0.1\n  port: 22\n  username: root\n# The name of the application, one server can contain multiple applications\nname: app-name\n# The image name to use to push and pull the image\nimage: \"ghcr.io/shyim/test\"\nproxy:\n  # The external reachable domain\n  host: localhost\n  # A healthcheck url to check if the application is running\n  healthcheck:\n    path: /admin\napp:\n  env:\n    # set a static environment value\n    APP_URL:\n      value: 'http://localhost'\n  initial_secrets:\n    # Generate a random string for the APP_SECRET environment variable and store it to keep it the same\n    APP_SECRET:\n      expr: 'randomString(32)'\n  # Mount directories to the container\n  mounts:\n    - name: jwt\n      path: config/jwt\n  # Specify workers to run in the background on the same built image\n  workers:\n    worker:\n      command: 'php bin/console messenger:consume async --time-limit=3600'\n  # Specify cronjob to run\n  cronjobs:\n    - schedule: '@every 5m'\n      command: 'php bin/console scheduled-task:run --no-wait'\n  # Hooks to run before the new container gets traffic\n  hooks:\n    # Executed while deployment\n    deploy: |\n      ./vendor/bin/shopware-deployment-helper run\n    # Executed as last step, allowed to fail to run non-critical things\n    post_deploy: |\n      ./vendor/bin/shopware-deployment-helper run\n\nservices:\n  # create an mysql database and sets a DATABASE_URL environment variable (based on key name)\n  database:\n    type: mysql:8.0\n    settings:\n      sql_mode: 'error_for_division_by_zero'\n  # create a redis cache and sets a CACHE_URL environment variable (based on key name)\n  cache:\n    type: valkey:7.2\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshyim%2Ftanjun","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshyim%2Ftanjun","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshyim%2Ftanjun/lists"}