Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docker指定env RPC_SECRET=xxxxxxx无效,仍然是默认密码 #171

Open
ggtony233 opened this issue Oct 16, 2024 · 1 comment
Open

docker指定env RPC_SECRET=xxxxxxx无效,仍然是默认密码 #171

ggtony233 opened this issue Oct 16, 2024 · 1 comment

Comments

@ggtony233
Copy link

          我使用docker-compose也不行,依旧是默认密码
version: "3.8"
services:
  aria2:
    container_name: aria2
    restart: always
    image: p3terx/aria2-pro:202209060423
    environment:
      - PUID=1000
      - PGID=1000
      - UMASK_SET=022
      - RPC_SECRET=xxxxxxx
      - UPDATE_TRACKERS=true
      - DISK_CACHE=64M
      - IPV6_MODE=true
      - TZ=Asia/Shanghai
    ports:
      - 16888:6888
      - 16800:6800
    volumes:
      - ~/docker/apps/aria2/config:/config
      - /WestData/WestDownload:/downloads
    networks:
      mydocker:
        ipv4_address: 172.223.1.9
networks:
  mydocker:
    external: true

Originally posted by @ggtony233 in #5 (comment)

@ggtony233
Copy link
Author

我发现问题了,似乎我在密码中多加了一个"@",这导致这个环境变量无效,这应该是bug?@P3TERX

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant