version: '3.8'
services:
    gh-proxy-py:
        container_name: gh-proxy-py
#        ports:
#            - 0.0.0.0:80:80
        restart: always
        image: hunsh/gh-proxy-py:latest
        networks:
          gh-proxy-py-network:
            ipv4_address: 172.18.6.31

networks:
  gh-proxy-py-network:
    driver: bridge
    ipam:
      config:
        - subnet: 172.18.6.0/24
    name: gh-proxy-py-network
最后修改:2024 年 05 月 11 日
如果觉得我的文章对你有用,请随意赞赏