feat: add compatible Trojan manager image

This commit is contained in:
chermack
2026-07-26 05:01:15 +08:00
parent 059be96536
commit cb17d56cae
26 changed files with 320 additions and 41 deletions
+15
View File
@@ -0,0 +1,15 @@
services:
trojan:
image: ${TROJAN_IMAGE:?set an immutable image digest}
container_name: trojan
network_mode: host
privileged: true
restart: always
command: init
env_file: /opt/trojan/runtime.env
volumes:
- /opt/trojan/config:/usr/local/etc/trojan
- /opt/trojan/manager:/var/lib/trojan-manager
- /opt/trojan/acme:/root/.acme.sh
- /opt/trojan/certs:/etc/trojan/certs
- /opt/trojan/manager-config:/etc/trojan-manager