{"id":15141747,"url":"https://github.com/szerhusenbc/apisimulator-docker-image","last_synced_at":"2026-01-21T17:02:56.137Z","repository":{"id":257566620,"uuid":"858624974","full_name":"szerhusenBC/apisimulator-docker-image","owner":"szerhusenBC","description":"Custom docker image for API Simulator that is a configuration-driven tool for creating and running API simulations","archived":false,"fork":false,"pushed_at":"2024-09-17T10:35:05.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-06T14:24:55.030Z","etag":null,"topics":["apis","docker-image","mocking","simulation","test","test-automation","testing-tools"],"latest_commit_sha":null,"homepage":"","language":"Makefile","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/szerhusenBC.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-09-17T08:39:56.000Z","updated_at":"2024-09-17T10:35:08.000Z","dependencies_parsed_at":"2024-09-17T13:08:05.217Z","dependency_job_id":null,"html_url":"https://github.com/szerhusenBC/apisimulator-docker-image","commit_stats":null,"previous_names":["szerhusenbc/apisimulator-docker-image"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/szerhusenBC/apisimulator-docker-image","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/szerhusenBC%2Fapisimulator-docker-image","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/szerhusenBC%2Fapisimulator-docker-image/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/szerhusenBC%2Fapisimulator-docker-image/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/szerhusenBC%2Fapisimulator-docker-image/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/szerhusenBC","download_url":"https://codeload.github.com/szerhusenBC/apisimulator-docker-image/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/szerhusenBC%2Fapisimulator-docker-image/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28636658,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-21T15:01:31.228Z","status":"ssl_error","status_checked_at":"2026-01-21T14:42:58.942Z","response_time":86,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["apis","docker-image","mocking","simulation","test","test-automation","testing-tools"],"created_at":"2024-09-26T09:01:40.799Z","updated_at":"2026-01-21T17:02:56.104Z","avatar_url":"https://github.com/szerhusenBC.png","language":"Makefile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# apisimulator-docker-image\n\nCustom docker image for API Simulator that is a configuration-driven tool for creating and running API simulations. The image is based on the\n[API Simulator for Easy and Realistic API Simulations](https://apisimulator.io/). There is also an\n[official Docker image](https://hub.docker.com/r/apimastery/apisimulator) available, but\n[this image](https://hub.docker.com/repository/docker/szerhusenbc/apisimulator/general) is much smaller and supports real time reloading when API configuration\nfiles are changed.\n\n## Usage\n\nYou can run the docker image with the following command\n\n```bash\ndocker run -d -p 6090:6090 --name apisimulator szerhusenbc/apisimulator:latest\n```\n\nor using Docker compose\n\n```yaml\nversion: '3.8'\nservices:\n  apisimulator:\n    image: szerhusenbc/apisimulator:latest\n    container_name: apisimulator\n    ports:\n      - \"6090:6090\"\n```\n\nThe API Simulator is now available and contains example simulations:\n\n* Hello World: http://localhost:6090\n* Greeting with path parameter: http://localhost:6090/greetings/John\n* Greeting with query parameter: http://localhost:6090/hi or http://localhost:6090/hi?name=John\n* Greeting with random phrase: http://localhost:6090/hey\n\n### Custom simulations\n\nIt is possible to mount a directory with custom simulations to the docker container:\n\n```bash\ndocker run -d -p 6090:6090 -v /path/to/my/simulations:/simulations --name apisimulator szerhusenbc/apisimulator:latest\n```\n\nor using Docker compose\n\n```yaml\nversion: '3.8'\nservices:\n  apisimulator:\n    image: szerhusenbc/apisimulator:latest\n    container_name: apisimulator\n    ports:\n      - \"6090:6090\"\n    volumes:\n      - type: bind\n        source: /path/to/my/simulations\n        target: /simulations\n```\n\nNow the API Simulator is available with the custom simulations. **Everytime a file in the simulations directory is changed, the API Simulator will restart\ninternally with the new configurations.**\n\nYou can also mount out the logs directory to get access to the logs. You have to mount the path `/apisimulator-http/logs/` to a directory on your host system.\n\n### Documentation\n\nThe official API Simulator documentation is available at https://apisimulator.io/docs/index.html.\n\n## Makefile\n\nThe Makefile provides different targets for building and running the docker image. By running `make` or `make help`, the available targets are shown.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fszerhusenbc%2Fapisimulator-docker-image","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fszerhusenbc%2Fapisimulator-docker-image","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fszerhusenbc%2Fapisimulator-docker-image/lists"}