The program has only one flag, -c, which specifies config file used. All other settings are in the config file.
Use example_docker.toml
Use example_local.toml
Look in example_s3.toml for what settings to add to your config.
Uncomment ./example_docker.toml:/app/config.toml
in docker-compose.yml
Run docker compose up --build
and then visit http://localhost:8080/
Thats it!
inputs = {
imagehost.url = "github:BatteredBunny/imagehost";
};
imports = [ inputs.imagehost.nixosModules.default ];
services = {
imagehost = {
enable = true;
createDbLocally = true;
settings.database_type = "postgresql";
};
postgresql.enable = true;
};