{"id":20688717,"url":"https://github.com/astechedu/sample-dockerized-symfony6-app","last_synced_at":"2025-03-11T00:51:32.584Z","repository":{"id":157088693,"uuid":"583419106","full_name":"astechedu/sample-dockerized-symfony6-app","owner":"astechedu","description":"This is sample dockerized symfony app.","archived":false,"fork":false,"pushed_at":"2023-01-03T08:29:21.000Z","size":48,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-17T16:56:50.750Z","etag":null,"topics":["docker","dockerfile","dockerized","php","php8","symfony","symfony-framework","symfony6"],"latest_commit_sha":null,"homepage":"","language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/astechedu.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2022-12-29T18:11:39.000Z","updated_at":"2022-12-29T18:41:25.000Z","dependencies_parsed_at":null,"dependency_job_id":"feb9df1c-18a6-4f50-b5f0-6a069c868c1c","html_url":"https://github.com/astechedu/sample-dockerized-symfony6-app","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/astechedu%2Fsample-dockerized-symfony6-app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/astechedu%2Fsample-dockerized-symfony6-app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/astechedu%2Fsample-dockerized-symfony6-app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/astechedu%2Fsample-dockerized-symfony6-app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/astechedu","download_url":"https://codeload.github.com/astechedu/sample-dockerized-symfony6-app/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242951171,"owners_count":20211572,"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":["docker","dockerfile","dockerized","php","php8","symfony","symfony-framework","symfony6"],"created_at":"2024-11-16T23:06:43.048Z","updated_at":"2025-03-11T00:51:32.578Z","avatar_url":"https://github.com/astechedu.png","language":"Dockerfile","readme":"# dockerized symfony6 app\n\nThis is sample dockerized symfony app.\n\n\nDockerfile: \n\n\u003ccode\u003e\n FROM php:8.1-apache\n  RUN apt-get update \u0026\u0026 apt-get install -y \\\n      git \\\n      curl \\\n      zip \\\n      unzip\n #RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer  \n  WORKDIR /var/www/html  \n  COPY symf6xproject ./symf6xproject\n  RUN chown -R www-data:www-data /var/www\n\u003c/code\u003e\n\n:thumbsup:\n\n#docker-compose.yml\n\n\u003ccode\u003e\nversion: \"3\"\nservices: \n  web:  \n   build:    \n    context: ./    \n    dockerfile: Dockerfile       \n   container_name: symfony6x   \n   volumes:    \n     - ./000-default.conf:/etc/apache2/sites-available/000-default.conf     \n   ports:   \n    - 8080:80\n\u003c/code\u003e\n\n:thumbsup:\n\n000-default.conf\n\n\u003ccode\u003e\n      \n       \u003cVirtualHost *:80\u003e\n\tServerAdmin webmaster@localhost\n\tDocumentRoot /var/www/html/symf6xproject/public\n\n\tErrorLog ${APACHE_LOG_DIR}/error.log\n\tCustomLog ${APACHE_LOG_DIR}/access.log combined\n\t\u003c/VirtualHost\u003e\n\t#vim: syntax=apache ts=4 sw=4 sts=4 sr noet\n\u003c/code\u003e\n\n:thumbsup:\n\n\n#Building image\n\n\tdocker build . -t dockerized_sysmfony6\n\n#Running container\n\n\tdocker run --name sysmfony6-app -p 8080:80 -d dockerized_symfony6\n\n#On Browser\n\n\thttp://localhost:8080\n\n\n\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fastechedu%2Fsample-dockerized-symfony6-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fastechedu%2Fsample-dockerized-symfony6-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fastechedu%2Fsample-dockerized-symfony6-app/lists"}