From cf7418e09d925b59c8ce2a0b0b2036673412a31b Mon Sep 17 00:00:00 2001 From: Viren070 Date: Wed, 30 Apr 2025 16:48:03 +0100 Subject: [PATCH] docs: simplify compose.yaml and remove traefik compose.yaml from repository --- compose.traefik.yaml | 69 -------------------------------------------- compose.yaml | 27 +---------------- 2 files changed, 1 insertion(+), 95 deletions(-) delete mode 100644 compose.traefik.yaml diff --git a/compose.traefik.yaml b/compose.traefik.yaml deleted file mode 100644 index 80c410ac..00000000 --- a/compose.traefik.yaml +++ /dev/null @@ -1,69 +0,0 @@ -services: - aiostreams: - image: ghcr.io/viren070/aiostreams:latest # ghcr.io/viren070/aiostreams:dev for latest commit - container_name: aiostreams - restart: unless-stopped - expose: - - 3000 - env_file: - - .env - labels: - - 'traefik.enable=true' - - 'traefik.http.routers.aio.rule=Host(`${DOMAIN?}`)' - - 'traefik.http.routers.aio.entrypoints=websecure' - - 'traefik.http.routers.aio.tls.certresolver=letsencrypt' - healthcheck: - test: wget -qO- http://localhost:3000/health - interval: 1m - timeout: 10s - retries: 5 - start_period: 10s - - traefik: - image: traefik:v3 - container_name: traefik - restart: unless-stopped - ports: - - 443:443 - command: - - '--providers.docker=true' - - '--providers.docker.exposedbydefault=false' - - '--entryPoints.websecure.address=:443' - - '--certificatesresolvers.letsencrypt.acme.tlschallenge=true' - - '--certificatesresolvers.letsencrypt.acme.email=${LETSENCRYPT_EMAIL?}' - - '--certificatesresolvers.letsencrypt.acme.storage=/letsencrypt/acme.json' - - '--log.level=INFO' - - '--ping' - volumes: - - '/var/run/docker.sock:/var/run/docker.sock' - - './data/letsencrypt:/letsencrypt' - healthcheck: - test: ['CMD', 'traefik', 'healthcheck', '--ping'] - interval: 1m - timeout: 5s - retries: 3 - - # Uncomment the following block to use warp as an ADDON_PROXY with http://warp:1080 - # warp: - # image: caomingjun/warp - # container_name: warp - # restart: unless-stopped - # device_cgroup_rules: - # - 'c 10:200 rwm' - # expose: - # - 1080 - # environment: - # - WARP_SLEEP=5 - # cap_add: - # - NET_ADMIN - # sysctls: - # - net.ipv6.conf.all.disable_ipv6=0 - # - net.ipv4.conf.all.src_valid_mark=1 - # volumes: - # - ./data/warp:/var/lib/cloudflare-warp - # healthcheck: - # test: curl -x "socks5h://127.0.0.1:1080" -fsSL "https://www.cloudflare.com/cdn-cgi/trace" | grep -qE "warp=(plus|on)" || exit 1 - # interval: 1m - # timeout: 5s - # retries: 3 - # start_period: 5s diff --git a/compose.yaml b/compose.yaml index e113dfc2..ae53770f 100644 --- a/compose.yaml +++ b/compose.yaml @@ -1,6 +1,6 @@ services: aiostreams: - image: ghcr.io/viren070/aiostreams:latest # ghcr.io/viren070/aiostreams:dev for latest commit + image: ghcr.io/viren070/aiostreams:latest container_name: aiostreams restart: unless-stopped ports: @@ -13,28 +13,3 @@ services: timeout: 10s retries: 5 start_period: 10s - - # Uncomment the following block to use warp as an ADDON_PROXY with http://warp:1080 - # warp: - # image: caomingjun/warp - # container_name: warp - # restart: unless-stopped - # device_cgroup_rules: - # - 'c 10:200 rwm' - # expose: - # - 1080 - # environment: - # - WARP_SLEEP=5 - # cap_add: - # - NET_ADMIN - # sysctls: - # - net.ipv6.conf.all.disable_ipv6=0 - # - net.ipv4.conf.all.src_valid_mark=1 - # volumes: - # - ./data/warp:/var/lib/cloudflare-warp - # healthcheck: - # test: curl -x "socks5h://127.0.0.1:1080" -fsSL "https://www.cloudflare.com/cdn-cgi/trace" | grep -qE "warp=(plus|on)" || exit 1 - # interval: 1m - # timeout: 5s - # retries: 3 - # start_period: 5s