Configuring a custom database server
Package-based installation
Simply run sudo openproject reconfigure
, and when the database wizard is displayed, select the Use an existing PostgreSQL database option and fill in the required details (cf the initial configuration section)
Docker-based installation
If you run the all-in-one container, you can simply pass a custom
DATABASE_URL
environment variable on the docker command-line, which could
point to an external database.
Example:
docker run -d ... -e DATABASE_URL=mysql2://user:pass@host:port/dbname openproject/community:10
If you run the Compose based docker stack, you can simply override the DATABASE_URL
environment variable, and remove the db
service from the docker-compose.yml
file. Then you can restart the stack with:
docker-compose down
docker-compose up -d
In both cases the seeder will be run when you (re)launch OpenProject to make sure that the database gets the migrations and demo data as well.
Help and feedback
If you did not find what you were looking for
If you need help from the community or want to support others
If you are eligible for professional support and have more questions
REQUEST SUPPORT
If you find an easily fixable error or need for improvement in the documentation for the stable release
If you would like to suggest bigger updates or improvements to this documentation
If you want to contribute to translate this documentation to another language
If there's something you don't like or understand about this feature
If you want to propose a new feature that OpenProject does not offer yet
To further help OpenProject to shape and test new features
To view OpenProject premium features and pricing
If you want to try all premium features in the OpenProject Cloud Edition 14 days for free
If you want to try all premium features in your on premise Community installation 14 days for free