{"id":26601672,"url":"https://github.com/aaronjan/docker-nginx-with-env","last_synced_at":"2026-05-07T00:35:22.935Z","repository":{"id":24457845,"uuid":"27860804","full_name":"AaronJan/docker-nginx-with-env","owner":"AaronJan","description":"Simple nginx image with ENV(environment) variables auto-replace. Using official Nginx docker image.","archived":false,"fork":false,"pushed_at":"2014-12-13T15:07:00.000Z","size":148,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-23T18:51:58.048Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AaronJan.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}},"created_at":"2014-12-11T08:10:01.000Z","updated_at":"2014-12-13T15:07:00.000Z","dependencies_parsed_at":"2022-08-22T08:20:28.212Z","dependency_job_id":null,"html_url":"https://github.com/AaronJan/docker-nginx-with-env","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/AaronJan/docker-nginx-with-env","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AaronJan%2Fdocker-nginx-with-env","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AaronJan%2Fdocker-nginx-with-env/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AaronJan%2Fdocker-nginx-with-env/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AaronJan%2Fdocker-nginx-with-env/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AaronJan","download_url":"https://codeload.github.com/AaronJan/docker-nginx-with-env/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AaronJan%2Fdocker-nginx-with-env/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272289227,"owners_count":24907796,"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","status":"online","status_checked_at":"2025-08-27T02:00:09.397Z","response_time":76,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2025-03-23T18:41:22.963Z","updated_at":"2026-05-07T00:35:22.895Z","avatar_url":"https://github.com/AaronJan.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"docker-nginx-with-env\n=====================\n\nSimple nginx image with ENV(environment) variables auto-replace. Using official Nginx docker image.\n\n## Intro\n\nThis image is now in a very early stage, it can only replace php-fpm environment variables.\n\nBut, it's usable if you follow the rules.\n\n## Todo\n\n1.Make this can replace every configure file in the `conf.d` folder\n\n2.Support other ENV configures(?? other then PHP? Don't know what's that yet)\n\n3.Still thinking...\n\n##How to use\n\n1.Pull this image:[from Docker](https://registry.hub.docker.com/u/aaronjan/nginx-with-env/)\n\n2.Make your own nginx configure folder, looks like this:\n\n```\nconf.d/\n  vhost.conf     # This is very important, this image can only replace placeholders in this file\nfastcgi_params\nkoi-utf\nkoi-win\nmime.types\nnginx.conf       # This configure file will include the files in the folder `conf.d/`\nscgi_params\nuwsgi_params\nwin-utf\n```\n\n3.Start php-fpm container\n\n4.Start this image link with php-fpm container:\n\n```bash\ndocker run -d -p 80:80 --link [your php-fpm container]:phpfpm --volumes-from web_server_php-fpm --name nginx -v [your nginx configure folder]:/etc/nginx_readonly:ro -v [your www folder]:/usr/share/nginx/html:ro aaronjan/nginx-with-env:latest\n```\n\n5.Boom. You're good to go.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faaronjan%2Fdocker-nginx-with-env","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faaronjan%2Fdocker-nginx-with-env","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faaronjan%2Fdocker-nginx-with-env/lists"}