Files
herolib/lib/installers/db/postgresql
Mahmoud Emad 3b580dcc1d fix: improve gitea and postgresql installation
- Improve the installation process for Gitea and PostgreSQL.
- Change the location of the Gitea config file to `/etc`.
- Add a health check for the PostgreSQL container.
- Ensure the Gitea user is created only if it doesn't exist.
- Add a restart command for Gitea to ensure it starts after.
- Improve error handling during user creation.
- Simplify PostgreSQL configuration in Gitea actions.
2025-01-09 13:31:57 +02:00
..
2024-12-25 10:11:52 +01:00
2024-12-25 10:11:52 +01:00

postgresql

To get started




import freeflowuniverse.herolib.installers.something. postgresql

mut installer:= postgresql.get()!

installer.start()!




example heroscript

!!postgresql.install
    homedir: '/home/user/postgresql'
    username: 'admin'
    password: 'secretpassword'
    title: 'Some Title'
    host: 'localhost'
    port: 8888