[新服务] subconverter for clash订阅
date
Nov 20, 2022
slug
newservice-clash-subscription-converter
status
Published
summary
新服务-
tags
service
type
Post
Summary
步骤
docker compose
export DOCKER_PROJ=subconverter_clash
#export DOCKER_PORT=18870
mkdir /data/$DOCKER_PROJ; cd /data/$DOCKER_PROJ
cat > docker-compose.yml <<EOF
version: '3.3'
services:
$DOCKER_PROJ:
restart: always
container_name: $DOCKER_PROJ
#ports:
# - '9500:25500'
environment:
- TZ=Asia/Hong_Kong
image: 'tindy2013/subconverter:latest'
networks:
default:
name: npm_nginx_proxy_manager-network
external: true
EOF
docker-compose down; docker-compose up -d; sleep 1s; docker-compose logs -f