{"id":16317922,"url":"https://github.com/sihar/docker-lamp-server","last_synced_at":"2026-02-03T17:35:33.180Z","repository":{"id":111082595,"uuid":"159607071","full_name":"sihar/docker-lamp-server","owner":"sihar","description":"docker lamp server","archived":false,"fork":false,"pushed_at":"2019-04-23T09:39:53.000Z","size":16,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-23T07:02:18.304Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/sihar.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":"2018-11-29T04:23:03.000Z","updated_at":"2019-04-23T09:39:55.000Z","dependencies_parsed_at":null,"dependency_job_id":"8234f764-276e-4f96-b804-d1f87655b5a3","html_url":"https://github.com/sihar/docker-lamp-server","commit_stats":{"total_commits":18,"total_committers":1,"mean_commits":18.0,"dds":0.0,"last_synced_commit":"4dfc403e4fe005bb0ecf76d15e958863f3bdc315"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sihar/docker-lamp-server","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sihar%2Fdocker-lamp-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sihar%2Fdocker-lamp-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sihar%2Fdocker-lamp-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sihar%2Fdocker-lamp-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sihar","download_url":"https://codeload.github.com/sihar/docker-lamp-server/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sihar%2Fdocker-lamp-server/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29050931,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-03T15:43:47.601Z","status":"ssl_error","status_checked_at":"2026-02-03T15:43:46.709Z","response_time":96,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":"2024-10-10T22:09:32.941Z","updated_at":"2026-02-03T17:35:33.157Z","avatar_url":"https://github.com/sihar.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# docker-lamp-server\n- Adminer  \n- PHP 7.2  \n- PHP 5.6  \n- MySQL 5.6  \n- Postgresql 10.6  \n\n## Spesifikasi pengujian\nOS Version : Windows 10 Pro 1803, Ubuntu 18.04  \nDocker Version : 18.09\n\n## untuk ubuntu, setting docker command agar bisa dijalankan tanpa sudo\nIkuti petunjuk [ini](https://www.digitalocean.com/community/tutorials/how-to-install-and-use-docker-on-ubuntu-18-04)\n\n## create data volume untuk database mysql dan postgresql\nSebelum menjalankan docker-lamp-server, create data volume terlebih dahulu  \n```\ndocker volume create mysql-data  \ndocker volume create postgres-data  \n```  \nsesuaikan volume path untuk folder /var/www/html  \n\n## start semua service di docker-lamp-server\n```\ndocker-compose up\n```\n\n## stop semua service di docker-lamp-server\n```\ndocker-compose stop\n```\n  \nMengubah konfigurasi di php  \n```\ndocker exec -it nama_container bash  \n```\nEdit konfigurasi di php.ini, kemudian restart service apache di container php  \n```\n#/etc/init.d/apache2 restart  \n```  \n  \nbackup database postgresql  \n```\ndocker exec lamp-server-postgresql pg_dump -U postgres -O nama_database \u003e backup_file.sql  \n```\n\ncreate database di postgresql  \n```\ndocker exec -it lamp-server-postgresql psql -U postgres -c 'create database nama_database;'  \n```\n\nrestore database postgresql  \n```\ndocker exec -i lamp-server-postgresql psql -U postgres -d nama_database \u003c nama_database.sql  \n```  \n\nlist all containers (only IDs)  \n```\ndocker ps -aq  \n```\n  \nstop all running containers  \n```\ndocker stop $(docker ps -aq)  \n```\n  \nremove all containers\n```\ndocker rm $(docker ps -aq)\n```\n  \nremove all images  \n```\ndocker rmi $(docker images -q)  \n```\n  \n# Sumber\n- [stop and remove container](http://blog.baudson.de/blog/stop-and-remove-all-docker-containers-and-images)\n- [enable mod_rewrite](https://perchrunway.com/blog/2017-01-19-getting-started-with-docker-for-local-development)\n- [allowoverride all](http://nelkinda.com/blog/apache-php-in-docker/)\n- [installing extension gd](https://stackoverflow.com/questions/39657058/installing-gd-in-docker)\n- [installing extension imagick](https://discuss.circleci.com/t/how-to-install-php-imagick-php-extension/19051/3)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsihar%2Fdocker-lamp-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsihar%2Fdocker-lamp-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsihar%2Fdocker-lamp-server/lists"}