Docker Composer CFP (CloudFlare Partner)

date
May 29, 2022
slug
newservice-docker-cfp
status
Published
summary
新服务 CloudFlare 自建服务
tags
service
type
Post
URL

Summary

步骤


mkdir /data/cfp-cloudflare-partner && cd /data/cfp-cloudflare-partner
CFP_HOST_KEY=
CFP_HOST_MAIL=
cat > docker-compose.yml <<EOF
version: '3.3'
services:
    cloudflare:
        container_name: $DOCKER_PROJ
        restart: always
        environment:
            - HOST_KEY=$CFP_HOST_KEY
            - HOST_MAIL=$CFP_HOST_MAIL
            - TITLE=$DOCKER_PROJ
        ports:
            - $DOCKER_PORT:80
        image: ze3kr/cloudflare
networks:
  default:
    name: npm_nginx_proxy_manager-network
    external: true
EOF

#2

验证


© Ying Bun 2021 - 2024