2022-10-18 00:30:51 +00:00
|
|
|
version: '3.7'
|
|
|
|
|
|
|
|
services:
|
|
|
|
sslocal:
|
2022-10-18 00:41:59 +00:00
|
|
|
# https://github.com/shadowsocks/shadowsocks-rust
|
2022-10-18 00:30:51 +00:00
|
|
|
image: ghcr.io/shadowsocks/sslocal-rust:latest
|
|
|
|
container_name: sslocal
|
|
|
|
ports:
|
2024-10-18 11:40:33 +00:00
|
|
|
- "${LOCAL_PORT:-1050}:1050/tcp"
|
2022-10-18 00:30:51 +00:00
|
|
|
volumes:
|
|
|
|
- "./config/config.json:/etc/shadowsocks-rust/config.json:ro"
|
|
|
|
env_file: .env
|
|
|
|
restart: unless-stopped
|
|
|
|
logging:
|
|
|
|
driver: "json-file"
|
|
|
|
options:
|
|
|
|
max-size: "${LOG_MAX_SIZE:-5m}"
|
|
|
|
max-file: "${LOG_MAX_FILE:-5}"
|