{"id":19499778,"url":"https://github.com/apsl/docker-lamp","last_synced_at":"2025-02-25T21:18:20.271Z","repository":{"id":18534512,"uuid":"21735167","full_name":"APSL/docker-lamp","owner":"APSL","description":"Docker APSL base project for LAMP apps","archived":false,"fork":false,"pushed_at":"2015-06-08T10:17:18.000Z","size":224,"stargazers_count":3,"open_issues_count":0,"forks_count":4,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-01-08T10:09:52.276Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Smarty","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/APSL.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}},"created_at":"2014-07-11T12:20:45.000Z","updated_at":"2020-07-29T07:17:37.000Z","dependencies_parsed_at":"2022-07-12T22:00:31.273Z","dependency_job_id":null,"html_url":"https://github.com/APSL/docker-lamp","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/APSL%2Fdocker-lamp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/APSL%2Fdocker-lamp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/APSL%2Fdocker-lamp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/APSL%2Fdocker-lamp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/APSL","download_url":"https://codeload.github.com/APSL/docker-lamp/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240746953,"owners_count":19850998,"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":[],"created_at":"2024-11-10T22:06:16.289Z","updated_at":"2025-02-25T21:18:20.242Z","avatar_url":"https://github.com/APSL.png","language":"Smarty","funding_links":[],"categories":[],"sub_categories":[],"readme":"=============================\nDocker APSL LAMP base project\n=============================\n\nApache image managed with circus. Config parameters with envtpl. apache, proftpd and sshd managed by circus.\n\nDescription\n===========\n\nApache generic image with these features:\n\nWork in progress. This image is intended to be used as base Dockerfile for\nprojects where you should need sftp and ssh access. But probably, if you need\nssh access, you are doing it wrong ;)\nhttp://jpetazzo.github.io/2014/06/23/docker-ssh-considered-evil/\n\n* envtpl to configure apache mpm prefork parameters. Also can be used for inherited Dockerfiles.\n* circus to control processes. http://circus.readthedocs.org/\n* sshd\n* proftpd for sftp\n* single cron for apache logrotation\n\nSee base image *apsl/circusbase* for more info:\n\nhttps://registry.hub.docker.com/u/apsl/circusbase/\nhttps://github.com/APSL/docker-circusbase\n\n\nEnviron vars\n============\n\nBelow you have a list of configurable env vars with default values shown.\n\nApache mpm prefork settings (*see conf/mpm_prefork.conf.tpl*)::\n\n    -e WORKERS_MIN=5     # sets StartServers and MinSpareServers\n    -e WORKERS_SPARE=10  # sets MaxSpareServers\n    -e WORKERS_MAX=100   # sets Maxclients and ServerLimit\n\nDefault virtualhost::\n\n    -e DOMAIN=hostname   # defaults to container hostname. see conf/default-vhost.tpl\n\nApache basic auth::\n\n    -e BASIC_AUTH=myuser:mypasswd   # disabled by default\n    -e BASIC_AUTH_NAME=\"Restricted\" # AuthName, authorizacion realm for HTTP authentication\n\nIf configured, it will add http basic auth for all hosts\n\nSFTP/SSH user:: \n\n    -e FTP_USER=myuser:mypasswd     # disabled by default\n\nSSH public key::\n\n    -e SSH_KEY=\"ssh-dss AAAA....\"   # disabled by default\n\n\nExposed ports\n=============\n\n* 80: apache\n* 22: sshd if enabled\n* 2221: proftpd if enabled\n\n\nGet started\n===========\n\nFor an example using as a base image, see apsl/wordpress:\n\nhttps://registry.hub.docker.com/u/apsl/wordpress/dockerfile/\n\nUsing standalone\n----------------\n\n1. clone::\n\n    git clone https://github.com/APSL/docker-lamp.git\n\n2. build::\n\n    cd docker-lamp\n    docker build -t lamp .\n\n3. run::\n\n    docker run -v /var/www:/app/www -p 80:80 lamp \n\nOR use docker registry hub: \n\n1. pull: \n    docker pull apsl/lamp\n\n2. run: \n    docker run  -p 80:80 apsl/lamp \n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapsl%2Fdocker-lamp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fapsl%2Fdocker-lamp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapsl%2Fdocker-lamp/lists"}