d2ray/docker-compose.yml

23 lines
444 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-21 13:22:57 +00:00
- PORT=8443
2023-08-21 16:12:10 +00:00
- TARGET_HOST=example.com
2023-08-21 13:22:57 +00:00
- TARGET_PORT=443
2023-08-21 16:12:10 +00:00
- TARGET_SNI=www.example.com,example.com
2023-08-21 13:22:57 +00:00
- USERS=exampleuser1,exampleuser2
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