Skip to content

Add Docker log rotation#11

Merged
GrantBirki merged 1 commit into
mainfrom
docker-log-rotation
Jun 29, 2026
Merged

Add Docker log rotation#11
GrantBirki merged 1 commit into
mainfrom
docker-log-rotation

Conversation

@GrantBirki

Copy link
Copy Markdown
Member

Summary

Adds explicit Docker json-file log rotation for the Caddy ingress service in Compose. This caps retained container access logs at five 100 MB files so the VPS does not depend only on host-level Docker daemon defaults.

@GrantBirki GrantBirki requested a review from a team as a code owner June 29, 2026 05:09
@github-actions

Copy link
Copy Markdown

Thanks for opening a pull request

The standalone ingress deploy process is:

  1. Observe the CI jobs and checks to ensure they are passing

  2. Obtain an approval on this pull request

  3. Branch deploy your pull request to the TDM VPS

    Comment .deploy on this pull request to trigger a deploy. If anything goes wrong, roll back with .deploy main

  4. Merge

@GrantBirki

Copy link
Copy Markdown
Member Author

.deploy

@github-actions

Copy link
Copy Markdown

Deployment Triggered 🚀

GrantBirki, started a branch deployment to production (branch: docker-log-rotation)

You can watch the progress here 🔗

Details
{
  "type": "branch",
  "environment": {
    "name": "production",
    "url": null
  },
  "deployment": {
    "timestamp": "2026-06-29T05:11:25.383Z",
    "logs": "https://github.com/the-hideout/ingress/actions/runs/28350084516"
  },
  "git": {
    "branch": "docker-log-rotation",
    "commit": "7d0e84debc4f8da6cd1bcd61bde2ebca0fe1725d",
    "verified": true,
    "committer": "GrantBirki",
    "html_url": "https://github.com/the-hideout/ingress/commit/7d0e84debc4f8da6cd1bcd61bde2ebca0fe1725d"
  },
  "context": {
    "actor": "GrantBirki",
    "noop": false,
    "fork": false,
    "comment": {
      "created_at": "2026-06-29T05:11:08Z",
      "updated_at": "2026-06-29T05:11:08Z",
      "body": ".deploy",
      "html_url": "https://github.com/the-hideout/ingress/pull/11#issuecomment-4829185585"
    }
  },
  "parameters": {
    "raw": null,
    "parsed": null
  }
}

@github-actions

Copy link
Copy Markdown

Deployment Results ✅

GrantBirki successfully deployed branch docker-log-rotation to production

Details
{
  "status": "success",
  "environment": {
    "name": "production",
    "url": null
  },
  "deployment": {
    "id": 5234584976,
    "timestamp": "2026-06-29T05:11:44.776Z",
    "logs": "https://github.com/the-hideout/ingress/actions/runs/28350084516",
    "duration": 19
  },
  "git": {
    "branch": "docker-log-rotation",
    "commit": "7d0e84debc4f8da6cd1bcd61bde2ebca0fe1725d",
    "verified": true
  },
  "context": {
    "actor": "GrantBirki",
    "noop": false,
    "fork": false
  },
  "reviews": {
    "count": 0,
    "decision": "REVIEW_REQUIRED"
  },
  "parameters": {
    "raw": null,
    "parsed": null
  }
}

@GrantBirki GrantBirki merged commit 599853e into main Jun 29, 2026
1 check passed
@GrantBirki GrantBirki deleted the docker-log-rotation branch June 29, 2026 05:12
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.

1 participant