Jump to content

Vernissage: Difference between revisions

From Official NixOS Wiki
Cameo007 (talk | contribs)
Added JSON configuration example
Cameo007 (talk | contribs)
m Updated description to official one
Line 1: Line 1:
[https://vernissage.photos/ Vernissage] is a Fediverse platform, made for photographers.
[https://vernissage.photos/ Vernissage] is an application that enables users to share their photographs with others.


{{Warning|The packages and module(s) to run Vernissage are not published yet. When Swift v6 has reached master, a (draft) PR should have been opened.}}
{{Warning|The packages and module(s) to run Vernissage are not published yet. When Swift v6 has reached master, a (draft) PR should have been opened.}}

Revision as of 15:17, 28 September 2026

Vernissage is an application that enables users to share their photographs with others.

⚠︎
Warning: The packages and module(s) to run Vernissage are not published yet. When Swift v6 has reached master, a (draft) PR should have been opened.

Configuration

The following example should contain all configurable keys for the API server. It combines the output of /api/v1/settings and the minimal upstream example as of v1.43.0. Long strings are replaced with SHORTENED in this example but they contain real defaults, so just check them on a running instance.

{
	"vernissage": {
		"baseAddress": "http://localhost:8080",
		"connectionString": "postgres://postgres:secretpass@localhost:5432/postgres",
		"dbMaxConnectionsPerEventLoop": 1,
		"dbConnectionPoolTimeoutSeconds": 10,
		"dbConnectTimeoutSeconds": 10,
		"queueUrl": "redis://127.0.0.1:6379",
		"s3Address": "https://s3.eu-central-1.amazonaws.com",
		"s3Region": "eu-central-1",
		"s3Bucket": "your-bucket-test",
		"s3AccessKeyId": "YOUR_ACCESS_KEY",
		"s3SecretAccessKey": "YOUR_SECRET_KEY",
		"s3Http1OnlyMode": "false",
		"disableQueueJobs": "false",
		"disableScheduledJobs": "false"
	},
	"alwaysCalculateCategory": false,
	"clearAttachmentsJobEnabled": true,
	"clearDeletedUsersJobEnabled": true,
	"clearErrorItemsJobEnabled": true,
	"clearFailedLoginsJobEnabled": true,
	"clearQuickCaptchasJobEnabled": true,
	"corsOrigin": "",
	"createArchiveJobEnabled": true,
	"customFileScript": "",
	"customFileStyle": "",
	"customInlineScript": "",
	"customInlineStyle": "",
	"deleteArchiveJobEnabled": true,
	"emailFromAddress": "",
	"emailFromName": "",
	"emailHostname": "",
	"emailPassword": "",
	"emailPort": 465,
	"emailSecureMethod": "none",
	"emailUserName": "",
	"eventsToStore": [],
	"imageQuality": 85,
	"imageSizeLimit": 10485760,
	"imagesUrl": "",
	"isOpenAIEnabled": false,
	"isQuickCaptchaEnabled": false,
	"isRegistrationByApprovalOpened": false,
	"isRegistrationByInvitationsOpened": false,
	"isRegistrationOpened": true,
	"isWebPushEnabled": false,
	"locationsJobEnabled": true,
	"longPeriodTrendingJobEnabled": true,
	"mastodonUrl": "",
	"maxCharacters": 500,
	"maxMediaAttachments": 4,
	"maximumNumberOfInvitations": 10,
	"minimumSecondsBetweenRegularStatuses": 60,
	"minimumSecondsBetweenSilentStatuses": 1,
	"openAIImageDescriptionPrompt": "SHORTENED",
	"openAIImageHashtagsPrompt": "SHORTENED",
	"openAIKey": "",
	"openAIModel": "gpt-4-turbo",
	"openAIProviderName": "OpenAI",
	"openAIUrl": "https://api.openai.com/v1/chat/completions",
	"patreonUrl": "",
	"privacyPolicyContent": "SHORTENED",
	"privacyPolicyUpdatedAt": "2025-01-18",
	"purgeStatusesJobEnabled": true,
	"rescheduleActivityPubJobEnabled": true,
	"shortPeriodTrendingJobEnabled": true,
	"showCamerasForAnonymous": false,
	"showCategoriesForAnonymous": false,
	"showEditorsChoiceForAnonymous": false,
	"showEditorsUsersChoiceForAnonymous": false,
	"showFilmsForAnonymous": false,
	"showHashtagsForAnonymous": false,
	"showLensesForAnonymous": false,
	"showLocalTimelineForAnonymous": true,
	"showNews": false,
	"showNewsForAnonymous": false,
	"showSharedBusinessCards": false,
	"showTrendingForAnonymous": false,
	"statusPurgeAfterDays": 180,
	"systemDefaultUserId": "7690597177843813016",
	"termsOfServiceContent": "SHORTENED",
	"termsOfServiceUpdatedAt": "2025-01-18",
	"totalCost": 0,
	"usersSupport": 0,
	"webContactUserId": "",
	"webDescription": "",
	"webEmail": "",
	"webLanguages": "en",
	"webLongDescription": "",
	"webPushEndpoint": "",
	"webPushSecretKey": "",
	"webPushVapidPrivateKey": "",
	"webPushVapidPublicKey": "",
	"webPushVapidSubject": "",
	"webThumbnail": "",
	"webTitle": "Vernissage"
}