d2ray/docker-compose.yml

25 lines
546 B
YAML
Raw Normal View History

2022-12-02 12:52:11 +00:00
networks:
d2ray_br:
external: false
services:
d2ray:
image: quackerd/d2ray
container_name: d2ray
ports:
2023-08-21 13:22:57 +00:00
- 8443:8443
2022-12-02 12:52:11 +00:00
environment:
2023-08-24 12:50:22 +00:00
- HOST=myvps.com
2023-08-21 13:22:57 +00:00
- PORT=8443
2023-08-22 16:36:05 +00:00
- TARGET_HOST=www.apple.com
2023-08-21 13:22:57 +00:00
- TARGET_PORT=443
2023-08-22 16:36:05 +00:00
- TARGET_SNI=www.apple.com,apple.com
- USERS=alice,bob,eve
- PRIVATE_KEY=KE5MCI5e395fub55O1lsNPzvWw9nNAyCaecRSp3BvHg # Do NOT use this random key
2023-08-21 16:12:10 +00:00
- LOG_LEVEL=warn
2022-12-02 13:40:39 +00:00
restart: unless-stopped
2022-12-02 12:52:11 +00:00
networks:
- d2ray_br
volumes:
2023-08-21 13:05:44 +00:00
- ./config:/etc/d2ray