{"id":20916046,"url":"https://github.com/pigloverabbit520/yapi-image","last_synced_at":"2025-12-28T07:21:42.373Z","repository":{"id":181814667,"uuid":"183856372","full_name":"pigLoveRabbit520/yapi-image","owner":"pigLoveRabbit520","description":"yapi镜像","archived":false,"fork":false,"pushed_at":"2019-04-28T07:28:34.000Z","size":5321,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-19T16:26:12.381Z","etag":null,"topics":["dockerfile","nodejs","yapi"],"latest_commit_sha":null,"homepage":null,"language":"Dockerfile","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/pigLoveRabbit520.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}},"created_at":"2019-04-28T04:41:12.000Z","updated_at":"2019-11-15T04:34:52.000Z","dependencies_parsed_at":"2023-07-17T12:01:02.034Z","dependency_job_id":null,"html_url":"https://github.com/pigLoveRabbit520/yapi-image","commit_stats":null,"previous_names":["pigloverabbit520/yapi-image"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pigLoveRabbit520%2Fyapi-image","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pigLoveRabbit520%2Fyapi-image/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pigLoveRabbit520%2Fyapi-image/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pigLoveRabbit520%2Fyapi-image/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pigLoveRabbit520","download_url":"https://codeload.github.com/pigLoveRabbit520/yapi-image/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243308520,"owners_count":20270435,"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":["dockerfile","nodejs","yapi"],"created_at":"2024-11-18T16:19:28.753Z","updated_at":"2025-12-28T07:21:42.335Z","avatar_url":"https://github.com/pigLoveRabbit520.png","language":"Dockerfile","readme":"# 使用\n添加`config.json`文件\n```\n{\n   \"port\": \"3000\",\n   \"adminAccount\": \"your_email@qq.com\",\n   \"db\": {\n      \"servername\": \"mongo_server_addr\",\n      \"DATABASE\": \"yapi\",\n      \"port\": \"27071\",\n      \"user\": \"your_db_user\",\n      \"pass\": \"your_db_user_password\"\n   },\n   \"mail\": {\n      \"enable\": false,\n      \"host\": \"smtp.163.com\",\n      \"port\": 465,\n      \"from\": \"***@163.com\",\n      \"auth\": {\n         \"user\": \"***@163.com\",\n         \"pass\": \"*****\"\n      }\n   }\n}\n```\n挂载`config.json`文件到容器`/root/yapi/config.json`\n\n# docker-compose.yml示例\n```\nversion: '2'\nservices:\n  web:\n    image: salamandermh/yapi:1.7.0\n    volumes:\n      - ./config.json:/root/yapi/config.json\n    ports: \n      - 9002:3000\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpigloverabbit520%2Fyapi-image","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpigloverabbit520%2Fyapi-image","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpigloverabbit520%2Fyapi-image/lists"}