docker-stacks/shadowsocks-client/docker-compose.yml

20 lines
517 B
YAML
Raw Normal View History

2022-10-18 00:30:51 +00:00
version: '3.7'
services:
sslocal:
# 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:
- "${LOCAL_PORT:-1050}:${LOCAL_PORT:-1050}/tcp"
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}"
2024-02-23 00:02:53 +00:00
ASdajdadjainfa-as"""