25 lines
408 B
YAML
25 lines
408 B
YAML
networks:
|
|
d2ray_br:
|
|
external: false
|
|
|
|
volumes:
|
|
d2ray_certs:
|
|
|
|
services:
|
|
d2ray:
|
|
image: quackerd/d2ray
|
|
container_name: d2ray
|
|
ports:
|
|
- ${PORT}:${PORT}
|
|
- 80:80
|
|
environment:
|
|
- PORT=${PORT}
|
|
- FQDN=${FQDN}
|
|
- USERS=${USERS}
|
|
restart: unless-stopped
|
|
networks:
|
|
- d2ray_br
|
|
volumes:
|
|
- d2ray_certs:/etc/letsencrypt
|
|
- ${LOGDIR}:/etc/d2ray
|