mkdir /etc/soga 

编辑 /etc/soga/soga.conf

type=v2board
server_type=v2ray
node_id=1
soga_key=

api=webapi

webapi_url=https://domain/
webapi_key=apiKey

db_host=
db_port=
db_name=
db_user=
db_password=

cert_file=
key_file=

cert_mode=
cert_domain=
cert_key_length=ec-256
dns_provider=

default_dns=
dns_cache_time=10
dns_strategy=ipv4_first

v2ray_reduce_memory=false
vless=false
vless_flow=

proxy_protocol=false

redis_enable=false
redis_addr=
redis_password=
redis_db=0
conn_limit_expiry=60

user_conn_limit=0
user_speed_limit=0
node_speed_limit=0
check_interval=60
force_close_ssl=true
forbidden_bit_torrent=true
log_level=info

启动容器

docker run -d --name soga --restart always -p 8563:8563 -v /etc/soga:/etc/soga -v $(pwd)/logs:/app/logs vaxilu/soga

其他操作

docker restart soga
docker stop soga