$ mkdir /your_path/sonic
$ docker run --name sonic-server -d -p 8080:8080 -v /your_path/sonic:/sonic gosonic/sonic:latest
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
Log output level
values: debug,info,warn,error
Whether to use sqlite as a database
values: true,false
the default value is true
If SQLite is disabled, you need to configure mysql as a database
value: your mysql host
value: mysql port
value: database name
value: mysql username
value: mysql password
Content type
Image
Digest
sha256:abb9b898b…
Size
21.3 MB
Last updated
almost 2 years ago
docker pull gosonic/sonic:v1.1.4