Sign inSign up

gosonic/sonic

By gosonic

•Updated over 2 years ago

Sonic Official image

Image
3

4.5K

gosonic/sonic repository overview

⁠Quick reference

⁠Supported platform

  • amd64
  • 386
  • arm64
  • arm/v7
  • arm/v6
  • ppc64le

⁠How to use this image

⁠start a sonic instance

$ mkdir /your_path/sonic
$ docker run --name sonic-server  -d  -p 8080:8080 -v /your_path/sonic:/sonic gosonic/sonic:latest

⁠Environment Variables

You can configure the application by specifying the environment variable

Example

$  docker run --name sonic-server -d  -e  LOGGING_LEVEL_APP=info  -p 8080:8080 -v /your_path/sonic:/sonic gosonic/sonic:latest
⁠LOGGING_LEVEL_APP

Log output level

values: debug,info,warn,error

⁠SQLITE3_ENABLE

Whether to use sqlite as a database

values: true,false

the default value is true

⁠MYSQL_HOST

If SQLite is disabled, you need to configure mysql as a database

value: your mysql host

⁠MYSQL_PORT

value: mysql port

⁠MYSQL_DB

value: database name

⁠MYSQL_USERNAME

value: mysql username

⁠MYSQL_PASSWORD

value: mysql password

Tag summary

Content type

Image

Digest

sha256:abb9b898b…

Size

21.3 MB

Last updated

over 2 years ago

docker pull gosonic/sonic