{"id":25065799,"url":"https://github.com/dubniczky/server-deployments","last_synced_at":"2026-05-10T16:11:59.558Z","repository":{"id":160045591,"uuid":"516436930","full_name":"dubniczky/Server-Deployments","owner":"dubniczky","description":"Server deployment containers for specific frameworks","archived":false,"fork":false,"pushed_at":"2022-11-26T19:57:08.000Z","size":73,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-06T19:49:10.713Z","etag":null,"topics":["containers","docker","docker-compose","dockerfile"],"latest_commit_sha":null,"homepage":"","language":"Dockerfile","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/dubniczky.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"github":"dubniczky","patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2022-07-21T16:03:19.000Z","updated_at":"2022-07-22T11:52:47.000Z","dependencies_parsed_at":"2024-03-14T21:00:45.445Z","dependency_job_id":null,"html_url":"https://github.com/dubniczky/Server-Deployments","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dubniczky%2FServer-Deployments","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dubniczky%2FServer-Deployments/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dubniczky%2FServer-Deployments/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dubniczky%2FServer-Deployments/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dubniczky","download_url":"https://codeload.github.com/dubniczky/Server-Deployments/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246473348,"owners_count":20783256,"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":["containers","docker","docker-compose","dockerfile"],"created_at":"2025-02-06T19:45:02.783Z","updated_at":"2026-05-10T16:11:54.518Z","avatar_url":"https://github.com/dubniczky.png","language":"Dockerfile","funding_links":["https://github.com/sponsors/dubniczky"],"categories":[],"sub_categories":[],"readme":"# Server Deployments\n\nServer deployment containers for different frameworks\n\n\u003cdiv align=\"center\"\u003e\n  \u003ca href=\"https://github.com/dubniczky/Server-Deployments\"\u003e\n    \u003cimg src=\"https://media.githubusercontent.com/media/dubniczky/Server-Deployments/main/.assets/logo.png\" alt=\"Avatar\" width=\"150\" height=\"150\"/\u003e\n  \u003c/a\u003e\n\u003c/div\u003e\n\n## Disclaimer\n\nThese container images are not \"final\". They serve as a base to start out and in most cases work as-is with your project for quick testing.\n\nPlease read the [Docker documentation](https://docs.docker.com/) and set up certificates before deploying these containers.\n\n## Frameworks\n\n\u003e Version: lastest release of framework where the deployment was tested. It might require modifications in later versions.\n\n|Framework|Version|Stages|Tags|\n|---|---|---|---|\n|[Angular](/angular)|`v13.3`|2|`angular`, `nginx`, `nodejs`, `ts`, `html`, `yarn`, `npm`, `npx`|\n|[Apache](/apache)|`v2.4`|1|`apache`, `static`, `html`, `css`, `php`, `js`|\n|[DotNET](/dotnet)|`v6.0`|2|`dotnet`, `c#`, `nuget`, `core`|\n|[FastAPI](/fastapi)|`v3.10`|1|`python`, `python3`, `pip`, `fastapi`, `uvicorn`|\n|[Go](/go)|`v1.18.2`|2|`go`, `golang`, `mux`, `alpine`|\n|[Laravel](/laravel)|`v9.1.8`|1|`php`, `laravel`, `artisan`, `composer`, `npm`|\n|[Nginx](/nginx)|`v1.21`|1|`nginx`, `js`, `static`, `html`, `css`|\n|[NodeJS](/nodejs)|`v16.15.0 LTS`|1|`nodejs`, `js`, `yarn`, `npm`, `npx`, `pnpm`, `pm2`|\n|[React](/react)|`v18.1.0`|2|`react`, `nginx`, `nodejs`, `js`, `html`, `yarn`, `npm`, `npx`|\n\n## Contents\n\nEach deployment has the following structure. You may not need all the files.\n\n`/name`\n\n- `/Dockerfile` - Commands to build a container\n- `/.dockerignore` - List of files and folders not to copy into the container\n- `/compose.yml` - Instructions for docker-compose on how to host the container(s)\n\n## Usage\n\n### 1. Move to project\n\nMove the `Dockerfile` and `.dockerignore` files into your project root.\n\n### 2. Update ignore\n\nUpdate `.dockerignore` to ignore everything you will not need for your deployment. Ideally, you should ignore:\n\n- Everything that's in your `.gitignore`\n- Git folder (`.git/`)\n- Build files and binaries\n- Caches\n- Installed packages\n- Tests (and their config)\n- Logs\n- Readme files and licenses\n- IDE specific files\n- Docker specific files\n- etc...\n\nAs a rule of thumb, consider every file you deploy to be accessible for attackers in a breach, so remove all secret information, even after running the application (like a `.env` file with login details).\n\n### 3. Check Dockerfile\n\nCheck if the current Dockerfile settings work with your project. Some Dockerfiles contain multiple methods for package management. Checklist:\n\n- Exposed ports\n- Package manager\n- Included necessary files\n- Correct entry point\n\n### 4. Build the container\n\nBuild the container with the given name and tag. The tag can be a version or a subtype of your project, like `wip`.\n\n\u003e This command may require you to have administrator privileges\n\n```bash\ndocker build -t \u003cname\u003e:\u003ctag\u003e .\n```\n\n### 5. Run the container locally\n\nRun the container and expose the given ports. Docker can forward those ports to another external one.\n\n\u003e This command may require you to have administrator privileges\n\n```bash\ndocker run -p\u003cport_ext\u003e:\u003cport_int\u003e \u003cname\u003e:\u003ctag\u003e\n```\n\nTest the container to see if it's working and available from your browser.\n\n### 6. Deploy your container\n\nDeploy to the provider of your choice. This step may be different for each provider, so seek further instruction in their documentation.\n\n## Compose\n\nEach deployment also contains a docker-compose description YAML file (`compose.yml`). For local usage or quick startup you may use it like so:\n\nBuild container:\n\n```bash\ndocker-compose build\n```\n\nStart container:\n\n```bash\ndocker-compose up\n```\n\nBuild then start each time:\n\n```bash\ndocker-compose up --build\n```\n\n## LICENSE\n\nGeneral MIT license: [view](/LICENSe)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdubniczky%2Fserver-deployments","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdubniczky%2Fserver-deployments","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdubniczky%2Fserver-deployments/lists"}