{"id":24911272,"url":"https://github.com/simonphumin/s1m-ghost-container","last_synced_at":"2025-03-28T02:50:11.312Z","repository":{"id":271756308,"uuid":"914433730","full_name":"SimonPhumin/s1m-ghost-container","owner":"SimonPhumin","description":"Ghost containerized with Podman and hosted on a free tier Oracle VPS and deployed via Ansible.","archived":false,"fork":false,"pushed_at":"2025-01-09T18:57:19.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-02T04:19:09.555Z","etag":null,"topics":["ansible","container","ghost","ghost-blog","oci","oracle-cloud","podman"],"latest_commit_sha":null,"homepage":"https://s1m-ghost-container.simonphum.in","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SimonPhumin.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-01-09T15:34:45.000Z","updated_at":"2025-01-09T18:57:23.000Z","dependencies_parsed_at":"2025-01-10T10:30:43.579Z","dependency_job_id":"0665f3c9-603f-40d3-a938-857a37c38740","html_url":"https://github.com/SimonPhumin/s1m-ghost-container","commit_stats":null,"previous_names":["simonphumin/s1m-ghost-container"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SimonPhumin%2Fs1m-ghost-container","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SimonPhumin%2Fs1m-ghost-container/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SimonPhumin%2Fs1m-ghost-container/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SimonPhumin%2Fs1m-ghost-container/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SimonPhumin","download_url":"https://codeload.github.com/SimonPhumin/s1m-ghost-container/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245960690,"owners_count":20700780,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ansible","container","ghost","ghost-blog","oci","oracle-cloud","podman"],"created_at":"2025-02-02T04:19:02.428Z","updated_at":"2025-03-28T02:50:11.290Z","avatar_url":"https://github.com/SimonPhumin.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# S1M Ghost Container\n\n## Introduction\n\nThis repository provides the necessary configuration for deploying a Ghost instance on an Oracle Cloud free-tier VPS using Ansible and Podman.\n\n## Getting Started\n\nTo use this repository, ensure you have the necessary `.env` files. These files are not included in the repository and must be created and configured manually for each service.\n\n## Prerequisites\n\nBefore you begin, ensure the following:\n\n1. You have a functioning Oracle Cloud free-tier VPS with SSH access.\n2. A reverse proxy, such as Traefik or Caddy, is installed to provide access to the Ghost instance.\n3. Your server is preconfigured with Ansible and Podman.\n\n### Local Dependencies\n\nInstall the following on your local machine:\n\n- Python 3.13\n- Ansible\n- The required Podman Ansible collection:\n\n`ansible-galaxy collection install containers.podman`\n\n## How to run\n\nTo deploy the Ghost instance, execute the following command:\n\n`ansible-playbook main.yml`\n\n## Backup\n\nBackup the content of all ghost data volumes (db and content). Otherwise uploaded files cannot be restored.\n\nYou can create a MYSQL backup by connecting to the production server via SSH and running:\n\n`podman exec ghost-db /bin/bash -c \"mysqldump -u root -p'password' ghost\" \u003e $(pwd)/backup.sql`\n\n## Restore\n\nTo restore a MYSQL backup, first connect to the production server via SSH, then run the following commands before starting the application for the first time:\n\n`podman exec -i ghost-db mysql -u root -p'password' ghost \u003c $(pwd)/backup.sql`\n\n## TODO\n\n- Automate container deployment and updates using GitHub Actions\n- Add another section on how to update the podman containers\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimonphumin%2Fs1m-ghost-container","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsimonphumin%2Fs1m-ghost-container","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimonphumin%2Fs1m-ghost-container/lists"}