├── .github └── workflows │ ├── build.yml │ └── readme_update.yml ├── Dockerfile ├── LICENSE ├── README.md ├── renovate.json └── rootfs ├── app └── web │ └── index.html └── etc └── nginx ├── http.d └── default.conf └── nginx.conf /.github/workflows/build.yml: -------------------------------------------------------------------------------- 1 | name: Build 2 | 3 | on: 4 | workflow_dispatch: 5 | push: 6 | branches: 7 | - master 8 | paths: 9 | - Dockerfile 10 | - rootfs/* 11 | - .github/workflows/build.yml 12 | 13 | jobs: 14 | build: 15 | runs-on: ubuntu-latest 16 | steps: 17 | - 18 | name: Checkout 19 | uses: actions/checkout@v4 20 | 21 | - 22 | name: Docker meta 23 | id: meta 24 | uses: docker/metadata-action@v5 25 | with: 26 | images: ${{ secrets.DOCKER_USERNAME }}/wxchat 27 | tags: | 28 | type=raw,value=latest 29 | 30 | - 31 | name: Set Up QEMU 32 | uses: docker/setup-qemu-action@v3 33 | 34 | - 35 | name: Set Up Buildx 36 | uses: docker/setup-buildx-action@v3 37 | 38 | - 39 | name: Login DockerHub 40 | uses: docker/login-action@v3 41 | with: 42 | username: ${{ secrets.DOCKER_USERNAME }} 43 | password: ${{ secrets.DOCKER_PASSWORD }} 44 | 45 | - 46 | name: Build 47 | uses: docker/build-push-action@v6 48 | with: 49 | context: . 50 | file: Dockerfile 51 | platforms: | 52 | linux/386 53 | linux/amd64 54 | linux/arm64/v8 55 | linux/arm/v7 56 | linux/arm/v6 57 | linux/ppc64le 58 | linux/s390x 59 | push: true 60 | tags: ${{ steps.meta.outputs.tags }} 61 | labels: ${{ steps.meta.outputs.labels }} 62 | cache-from: type=gha, scope=${{ github.workflow }} 63 | cache-to: type=gha, scope=${{ github.workflow }} -------------------------------------------------------------------------------- /.github/workflows/readme_update.yml: -------------------------------------------------------------------------------- 1 | name: Docker readme update 2 | 3 | on: 4 | workflow_dispatch: 5 | push: 6 | branches: 7 | - master 8 | paths: 9 | - README.md 10 | 11 | jobs: 12 | job: 13 | name: Docker Hub Description 14 | runs-on: ubuntu-latest 15 | steps: 16 | - 17 | name: Checkout 18 | uses: actions/checkout@v4 19 | 20 | - 21 | name: Docker Hub Description 22 | uses: peter-evans/dockerhub-description@v4 23 | with: 24 | username: ${{ secrets.DOCKER_USERNAME }} 25 | password: ${{ secrets.DOCKER_PASSWORD }} 26 | repository: ${{ secrets.DOCKER_USERNAME }}/wxchat 27 | short-description: MoviePilot 微信转发代理 28 | readme-filepath: ./README.md -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- 1 | FROM alpine:3.21 2 | 3 | ENV TZ=Asia/Shanghai 4 | 5 | RUN apk add --no-cache tzdata nginx && \ 6 | rm -rf /var/cache/apk/* /tmp/* 7 | 8 | COPY --chmod=755 ./rootfs / 9 | 10 | EXPOSE 80 11 | 12 | ENTRYPOINT ["nginx"] 13 | CMD ["-g", "daemon off;"] -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2023 DDS-Rem 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # MoviePilot 微信转发代理 Docker 2 | 3 | [](https://github.com/DDS-Derek/wxchat-Docker/actions/workflows/build.yml) [](https://github.com/DDS-Derek/wxchat-Docker/actions/workflows/readme_update.yml) 4 | 5 | ```bash 6 | docker run -d \ 7 | --name wxchat \ 8 | --restart=always \ 9 | -p 80:80 \ 10 | ddsderek/wxchat:latest 11 | ``` 12 | 13 | ```yaml 14 | version: '3.3' 15 | services: 16 | wxchat: 17 | container_name: wxchat 18 | restart: always 19 | ports: 20 | - '80:80' 21 | image: 'ddsderek/wxchat:latest' 22 | ``` -------------------------------------------------------------------------------- /renovate.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "https://docs.renovatebot.com/renovate-schema.json", 3 | "extends": [ 4 | "config:base" 5 | ] 6 | } 7 | -------------------------------------------------------------------------------- /rootfs/app/web/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |
4 | 5 |