{"id":20651479,"url":"https://github.com/trydma/nextjs-strapi-nginx-docker","last_synced_at":"2025-04-17T14:03:18.531Z","repository":{"id":224826316,"uuid":"763109221","full_name":"trydma/nextjs-strapi-nginx-docker","owner":"trydma","description":"Boilerplate for building a web application. ","archived":false,"fork":false,"pushed_at":"2024-12-23T19:45:47.000Z","size":625,"stargazers_count":6,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-29T06:11:21.478Z","etag":null,"topics":["certbot","docker","nextjs","nginx","postgresql","strapi"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/trydma.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2024-02-25T15:30:13.000Z","updated_at":"2024-12-23T19:45:51.000Z","dependencies_parsed_at":null,"dependency_job_id":"ecdfb8b1-37f8-40cf-a475-c47256834bab","html_url":"https://github.com/trydma/nextjs-strapi-nginx-docker","commit_stats":null,"previous_names":["blyaderuiner/nextjs-strapi-nginx-docker","trydma/nextjs-strapi-nginx-docker"],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trydma%2Fnextjs-strapi-nginx-docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trydma%2Fnextjs-strapi-nginx-docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trydma%2Fnextjs-strapi-nginx-docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trydma%2Fnextjs-strapi-nginx-docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/trydma","download_url":"https://codeload.github.com/trydma/nextjs-strapi-nginx-docker/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249347068,"owners_count":21255123,"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":["certbot","docker","nextjs","nginx","postgresql","strapi"],"created_at":"2024-11-16T17:27:40.879Z","updated_at":"2025-04-17T14:03:18.495Z","avatar_url":"https://github.com/trydma.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Boilerplate for building a web application.\nNext.js, Strapi, PostgreSQL, Nginx, Docker.\n\n## Instruction 📖\n- In the Docker folder, configure the environment.\n- Start development and customize strapi.\n- Add the resulting strapi token to the environment (it will be available on the frontend).\n- On production, configure the nginx configuration for your domain. Also change the environment for production.\n- Get ssl certificate using certbot for your server.\n\n## Docker 🐳\n\n#### Running containers for development\n```\ndocker-compose -f development.compose.yml up --build\n```\n\n#### Running containers for production\n```\ndocker-compose -f production.compose.yml up -d --build\n```\n\n#### Removing containers\n```\ndocker-compose -f *.compose.yml down\n```\n\n## Strapi 🛠️\n#### Data export without encryption and compression\n\n```\nnpm run strapi export -- --no-encrypt --no-compress\n```\n\n#### Data import\n\n```\nnpm run strapi import -- -f name_import_file.tar\n```\n\n## Certbot 🤖\n#### Obtaining ssl certificate\n```\ndocker-compose -f production.compose.yml run --rm certbot certonly --webroot --webroot-path /var/www/certbot/ -d [domain-name]\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrydma%2Fnextjs-strapi-nginx-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftrydma%2Fnextjs-strapi-nginx-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrydma%2Fnextjs-strapi-nginx-docker/lists"}