mirror of
https://github.com/Neur0toxine/shadowsocks-v2ray-wss.git
synced 2024-11-22 04:46:03 +03:00
24 lines
565 B
YAML
24 lines
565 B
YAML
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
|