{"id":26192971,"url":"https://github.com/garymengcom/dockerpress","last_synced_at":"2025-03-12T01:32:13.390Z","repository":{"id":265725793,"uuid":"888572971","full_name":"garymengcom/dockerpress","owner":"garymengcom","description":null,"archived":false,"fork":false,"pushed_at":"2025-01-19T05:44:19.000Z","size":61,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-27T13:06:15.288Z","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/garymengcom.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":"2024-11-14T16:21:48.000Z","updated_at":"2025-01-19T05:44:21.000Z","dependencies_parsed_at":"2024-12-01T23:30:41.104Z","dependency_job_id":"09566db4-e486-4a90-8ec2-a1ab62bda6af","html_url":"https://github.com/garymengcom/dockerpress","commit_stats":null,"previous_names":["yeszao/dockerpress","garymengcom/dockerpress"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/garymengcom%2Fdockerpress","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/garymengcom%2Fdockerpress/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/garymengcom%2Fdockerpress/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/garymengcom%2Fdockerpress/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/garymengcom","download_url":"https://codeload.github.com/garymengcom/dockerpress/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243139901,"owners_count":20242634,"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":"2025-03-12T01:32:10.412Z","updated_at":"2025-03-12T01:32:12.909Z","avatar_url":"https://github.com/garymengcom.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Docker for WordPress\n\u003e One website one environment.\n\n\n## How to use\n1. Clone this repository and go to the directory:\n    ```bash\n    git clone https://github.com/yeszao/dockerpress.git\n    cd dockerpress\n    ```\n2. Copy `docker-compose.yml.sample` to `docker-compose.yml`:\n    ```bash\n    cp docker-compose.yml.sample docker-compose.yml\n    ```\n   Customize the `docker-compose.yml` file as needed.\n   E.g. nginx expose port `80` to host default, change it to another one if it was occupied.\n4. Download WordPress and unzip files to `src` directory.\n    ```bash\n   curl -s https://wordpress.org/latest.zip -o /tmp/latest.zip \\\n       \u0026\u0026 unzip -q /tmp/latest.zip -d /tmp \\\n       \u0026\u0026 mv /tmp/wordpress/* src/ \\\n       \u0026\u0026 rm -rf /tmp/wordpress /tmp/latest.zip\n   ```\n5. Run the following command:\n    ```bash\n    docker compose up -d\n    ```\n6. Open your browser and access [http://localhost](http://localhost).\n7. The MySQL configurations default are (all of the values can be modified in `docker-compose.yml` file):\n   - **Host**: `mysql`\n   - **Port**: `3306`\n   - **DB Name**: `wordpress`\n   - **Username**: `root`\n   - **Password**: `12345678`\n   \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgarymengcom%2Fdockerpress","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgarymengcom%2Fdockerpress","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgarymengcom%2Fdockerpress/lists"}