-
Notifications
You must be signed in to change notification settings - Fork 2
Repository Configuration
Ceyhun Kerti edited this page Aug 6, 2017
·
1 revision
Octopus stores all the information such as, connection definitions, task instances, run plans, etc.. in a relational database. It ships with an embedded H2 Database. You replace the default database with any of the supported databases. To change the database type you will need two things;
- Put an appropriate JDBC driver to the libs folder
- Change the repository connection parameters on the application.properties file.
For example if you want to use PostgreSQL for repository;
- Set
octopus.datasource.urlparameter with the JDBC URL of the your Postgre database. (eg. jdbc:postgresql://host:port/database) - Set
octopus.datasource.usernameandoctopus.datasource.passwordparameters. - Set the hibernate dialect
octopus.jpa.properties.hibernate.dialectwit horg.hibernate.dialect.PostgreSQLDialect - Download the JDBC driver for PostgreSQL
- Place the driver file under
OCTOPUS_HOME/libsfolder. That is all you have to do. You can now use PostgreSQL as your repository.
Technically you can use any database that Hibernate supports. Plese refer to the hibernate docs on the internet for supported databases and dialects.
- What is Octopus
- Installation
- Configuration
- Running
-
User Guide
- User Management
- Connections
- Run Plans
- Groups
- Parameters
- Tasks
- Sessions
-
Settings
- Mail Settings
- Slack Integration
- Preferences
- Screenshots