Docker sqlite3 config

When configuring docker gogs for sqlite3, the [database] PATH variable wants the full path to the db, not a relative path. Remember in docker gogs, /var/gogs is /data inside the container.

Like this:

[database]
DB_TYPE  = sqlite3
HOST     = 127.0.0.1:3306
NAME     = gogs
USER     = user
PASSWD   = 
SSL_MODE = disable
PATH     = /data/gogs/data/gogs.db
1 Like