Sign inSign up

yyned2501/git-python

By yyned2501

Updated about 1 year ago

引用github生成python项目

Image
Languages & frameworks
Developer tools
0

1.6K

yyned2501/git-python repository overview

本项目可以引用github/gitee等代码托管项目,实现快速部署。

项目使用supervisor管理,要求项目根目录必须存在supervisord.conf

docker compose例子如下:

services:
  git-python:
    image: yyned2501/git-python:3.12
    environment:
      - GIT_REMOTE=https://github.com/xxx/xxx.git
      - GIT_BRANCH=master
      - SUPERVISOR_USERNAME=admin
      - SUPERVISOR_PASSWORD=admin
    network_mode: bridge
    working_dir: /app
    ports:
      - 8880:9001 #supervisor管理端口
    tty: true

由github托管生成

github项目地址:https://github.com/yyned2501/git-python

Tag summary

Content type

Image

Digest

sha256:4161d9f98

Size

364.2 MB

Last updated

about 1 year ago

docker pull yyned2501/git-python