shadowsocks-v2ray-wss/docker-compose.yml

24 lines
565 B
YAML
Raw Permalink Normal View History

2021-06-18 18:17:13 +03:00
version: "3"
services:
shadowsocks:
build:
context: .
environment:
PASSWORD: "${PASSWORD}"
ENCRYPT: "${ENCRYPT}"
V2_PATH: "${V2_PATH}"
QR_PATH: "${QR_PATH}"
GENERATE_QR: "${GENERATE_QR}"
DOMAIN: "${DOMAIN}"
PORT: ${PORT}
TLS_CERT: "${TLS_CERT}"
TLS_KEY: "${TLS_KEY}"
TLS_DHPARAM: "${TLS_DHPARAM}"
ports:
- "${PORT}:${PORT}"
volumes:
- ./cert.pem:${TLS_CERT}
- ./cert.key:${TLS_KEY}
- ./dhparams.pem:${TLS_DHPARAM}
restart: always