Template Docker compose config

This commit is contained in:
2026-04-02 04:48:09 +03:00
parent db331e373e
commit 6e97b74f2a
5 changed files with 6 additions and 2 deletions

26
compose.example.yml Normal file
View File

@@ -0,0 +1,26 @@
services:
3proxy-ui:
build:
context: .
dockerfile: Dockerfile
container_name: 3proxy-ui
ports:
- "3000:3000"
- "1080:1080"
- "2080:2080"
- "3128:3128"
- "8081:8081"
environment:
PORT: "3000"
AUTO_START_3PROXY: "true"
THREEPROXY_BINARY: "/usr/local/bin/3proxy"
RUNTIME_DIR: "/app/runtime"
PANEL_AUTH_LOGIN: "admin"
PANEL_AUTH_PASSWORD: "proxy-ui-demo"
PANEL_SESSION_TTL_HOURS: "24"
volumes:
- 3proxy-runtime:/app/runtime
restart: unless-stopped
volumes:
3proxy-runtime: