{"id":16615318,"url":"https://github.com/jonmosco/tomcat_sidecar_pattern","last_synced_at":"2026-07-07T05:31:02.992Z","repository":{"id":68952329,"uuid":"81685707","full_name":"jonmosco/tomcat_sidecar_pattern","owner":"jonmosco","description":"Tomcat with a war deployer sidecar container pattern example","archived":false,"fork":false,"pushed_at":"2017-02-15T02:40:46.000Z","size":13,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-17T17:54:24.762Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jonmosco.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-02-11T22:09:04.000Z","updated_at":"2017-02-12T02:09:52.000Z","dependencies_parsed_at":null,"dependency_job_id":"de06722c-bdbb-4f55-b4ce-6c7d27e4c3c9","html_url":"https://github.com/jonmosco/tomcat_sidecar_pattern","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonmosco%2Ftomcat_sidecar_pattern","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonmosco%2Ftomcat_sidecar_pattern/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonmosco%2Ftomcat_sidecar_pattern/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonmosco%2Ftomcat_sidecar_pattern/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jonmosco","download_url":"https://codeload.github.com/jonmosco/tomcat_sidecar_pattern/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242956549,"owners_count":20212454,"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","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":"2024-10-12T02:09:11.447Z","updated_at":"2026-07-07T05:31:02.969Z","avatar_url":"https://github.com/jonmosco.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"##Tomcat application deployment container\n\n###This is a POC that puts the sidecar container pattern to use\n\nDeploys the sample.war from a container to a mounted VOLUME exposed\ninside the tomcat container in /usr/local/tomcat/webapps/\n\n##Sidecar Container Pattern\n\nhttps://www.usenix.org/system/files/conference/hotcloud16/hotcloud16_burns.pdf\n\n###Vagrant environment\n\nThis image can run locally as long as the docker engine is isntalled, and\ncomes with Vagrantfile VM on CentOS 7 with the latest Docker engine.\n\n###Server Container\n\n```docker\nFROM tomcat:8.0-jre8\n\n# Mount point for the sidecar container\nVOLUME [ \"/usr/local/tomcat/webapps\" ]\n```\n###Side Container\n\n```docker\nFROM busybox:latest\n\nADD sample.war /usr/local/tomcat/webapps/sample.war\n\nVOLUME [ \"/usr/local/tomcat/webapps/\" ]\nWORKDIR /usr/local/tomcat/webapps/\n```\n\nBuild the image:\n$ docker buid sidecar/\n\nRun the container:\n```\n$ docker run -t -i --name sidecar_test sidecar_war\n```\n\nKeep the container running:\n```\n$ docker run -d --name sidecar_test03 sidecar_war tail -f /dev/null\n```\n\nBuild the stack:\n```\n$ docker run --name sample_app05 --volumes-from sidecar_test -d  -p 8080:8080  tomcat_server0\n```\n\n###Docker Compose\n\nThis example app deployment also includes a docker-compose.yml\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjonmosco%2Ftomcat_sidecar_pattern","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjonmosco%2Ftomcat_sidecar_pattern","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjonmosco%2Ftomcat_sidecar_pattern/lists"}