docker-stacks/shadowsocks-client/docker-compose.yml
Alexey Skobkin be4d9a5b70
All checks were successful
continuous-integration/drone/pr Build is passing
shadowsocks-client. Fixing unnecessary internal port override.
2024-10-18 14:40:33 +03:00

19 lines
481 B
YAML

version: '3.7'
services:
sslocal:
# https://github.com/shadowsocks/shadowsocks-rust
image: ghcr.io/shadowsocks/sslocal-rust:latest
container_name: sslocal
ports:
- "${LOCAL_PORT:-1050}: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}"