Added: trojan client config
This commit is contained in:
parent
ac6c789a17
commit
cbb8081c4c
|
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
"run_type": "client",
|
||||
"local_addr": "0.0.0.0",
|
||||
"local_port": 1081,
|
||||
"remote_addr": "out.homemade.net.cn",
|
||||
"remote_port": 6443,
|
||||
"password": [
|
||||
"J/f6m2X8-q4P"
|
||||
],
|
||||
"ssl": {
|
||||
"sni": "out.homemade.net.cn"
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,15 @@
|
|||
version: '3'
|
||||
services:
|
||||
trojan-client:
|
||||
image: teddysun/trojan-go:2023.11.18
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- ./config.json:/etc/trojan-go/config.json
|
||||
networks:
|
||||
- shared_network
|
||||
ports:
|
||||
- 1081:1081
|
||||
|
||||
networks:
|
||||
shared_network:
|
||||
driver: bridge
|
||||
Loading…
Reference in New Issue