Skip to content

OxiCloud: add the template comments to compose.yaml - #434

Merged
crypt0rr merged 2 commits into
mainfrom
oxicloud-template-comments
Nov 23, 2026
Merged

crypt0rr merged 2 commits into
mainfrom
oxicloud-template-comments

Conversation

@jackspiering

Copy link
Copy Markdown
Collaborator

Description

Follow-up to #430. The OxiCloud stack works, but parts of compose.yaml were missing the per-line comments that the service template uses to explain each setting. This adds them and puts the remaining parts in template order:

  • Tailscale health check: the template's comment on the test line.
  • Application: the environment comment, and a comment on each OxiCloud setting and on the storage volume that says why it is there.
  • Health checks: template key order (retries before start_period) on the application.
  • Database: a # Database heading, a comment on each setting, a # Healthcheck: comment that says why it checks over TCP (the image defines no check), start_period: 30s as in the template, and restart: always last.

Only services/oxicloud/compose.yaml changes. The one change in behaviour is the database health check's start period.

Related Issues

Verification

  • docker compose config --quiet from services/oxicloud/, with dummy values for required variables
  • The stack started, Tailscale is healthy, and the service is reachable through the Tailnet
  • The main function of the service works, and its data survives a restart
  • rumdl check --config .markdownlint.yml . on the whole repository, and git diff --check origin/main

Live test from a copy outside the repository, on a fresh Tailnet device:

  • All three containers became healthy. Each health check command also passed when run with docker exec.
  • Through Tailscale Serve: the web interface returned 200, and the first-admin setup, login, upload and read-back all worked.
  • After docker compose down and up, the file and the login session were still there.
  • Checked the two facts the new comments state: the postgres:18-alpine image defines no health check, and OxiCloud keeps its generated .jwt_secret in /app/storage.

Impact on existing users

  • None. Only comments and key order change, plus a start period on the database health check.

Checklist

  • I have performed a self-review of my code and followed the templates structure.
  • I did not commit a working auth key, password, token, or other credential.
  • The service README uses the headings of the template, in the same order, and is up to date.
  • I added, removed, or renamed the service in the root README.md, in alphabetical order, or this PR does not change the list of services.

Additional Context

  • None.

Add the per-line comments from the service template to the tailscale health check, the application environment and volume, and the postgres service. Explain why each OxiCloud setting is there, put the health check keys in template order, and give the database health check a start period.
@crypt0rr
crypt0rr merged commit 457ff52 into main Nov 23, 2026
2 checks passed
@crypt0rr
crypt0rr deleted the oxicloud-template-comments branch November 23, 2026 14:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants