Sponsored with care

成为赞助商
Become a sponsor
Database Configuration
About 154 words
Warning
Starting from fba 2.0.0, MySQL support has been removed and fba supports PostgreSQL only
Before v2.0.0, fba supported both PostgreSQL and MySQL and switched between them through DATABASE_TYPE. That setting and the sql/mysql script directories have been removed along with the MySQL support
Docker Images
If you do not have a database installed locally, or prefer Docker, you can start a database container with the command below.
docker run -d \
--name fba_postgres \
--restart always \
-e POSTGRES_DB='fba' \
-e POSTGRES_PASSWORD='123456' \
-e TZ='Asia/Shanghai' \
-v fba_postgres:/var/lib/postgresql/data \
-p 5432:5432 \
postgres:16Environment Configuration
If you created the Docker image with the command above, update part of .env as shown below. Otherwise, adjust according to your actual configuration.
# Database
DATABASE_HOST='127.0.0.1'
DATABASE_PORT=5432
DATABASE_USER='postgres'
DATABASE_PASSWORD='123456'Changelog
11/25/26, 3:41 PM
View All Changelog
8049d-update docson35629-update docsona764d-update docsona15a7-update docson52a1c-update docsoneac8a-update docson54f21-update docsonaf0e2-update docsonbec18-update docson7186a-update docson0cfd8-update docson59a3a-update docson8e390-update docsonc59a9-update docson02f7e-update docsonda774-update docsonce9c9-update docsonbde7c-update docson57b73-update docsone6cff-update docsona2e52-update docson30121-update docson3c08f-update docson812d2-update docson
