{"id":17311973,"url":"https://github.com/boris-code/wordpress-docker","last_synced_at":"2025-03-27T01:14:27.259Z","repository":{"id":109041767,"uuid":"357849966","full_name":"Boris-code/wordpress-docker","owner":"Boris-code","description":"wordpress一键部署","archived":false,"fork":false,"pushed_at":"2021-04-14T09:36:40.000Z","size":4,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-01T06:27:39.136Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Boris-code.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":"2021-04-14T09:33:46.000Z","updated_at":"2022-03-04T00:54:45.000Z","dependencies_parsed_at":null,"dependency_job_id":"7c8aff34-df45-435c-bd59-556befad4815","html_url":"https://github.com/Boris-code/wordpress-docker","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/Boris-code%2Fwordpress-docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Boris-code%2Fwordpress-docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Boris-code%2Fwordpress-docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Boris-code%2Fwordpress-docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Boris-code","download_url":"https://codeload.github.com/Boris-code/wordpress-docker/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245761298,"owners_count":20667895,"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-10-15T12:41:59.559Z","updated_at":"2025-03-27T01:14:27.242Z","avatar_url":"https://github.com/Boris-code.png","language":"Shell","readme":"# Deploy wordpress with docker\r\n\r\n\r\nThis repository introduces how to deploy wordpress with docker, actually, with docker-compose. With docker, you can deploy easily without build LAMP enviroment, besides, it is also easy to update related components.\r\n\r\n## Installing\r\n\r\n\r\n### Installing docker-ce\r\nTo install docker, you can reference [docker offical site](https://docs.docker.com/install/), which introduces how to install docker-ce in detail, including different kinds of OS.\r\n\u003e - Linux\r\n\u003e   - [Centos](https://docs.docker.com/install/linux/docker-ce/centos/)\r\n\u003e   - [Debian](https://docs.docker.com/install/linux/docker-ce/debian/)\r\n\u003e   - [Fedora](https://docs.docker.com/install/linux/docker-ce/fedora/)\r\n\u003e   - [Ubuntu](https://docs.docker.com/install/linux/docker-ce/ubuntu/)\r\n\u003e   - [Binaries](https://docs.docker.com/install/linux/docker-ce/binaries/)\r\n\u003e   - [Optional Linux post-installation steps](https://docs.docker.com/install/linux/linux-postinstall/)\r\n\u003e - [MacOS](https://docs.docker.com/docker-for-mac/install/)\r\n\u003e - [Windows](https://docs.docker.com/docker-for-windows/install/)\r\n\r\n### Download the repository\r\nChange directory to a place where you want to put source code and execute:\r\n```bash\r\ncd ~\r\ngit clone https://github.com/kefins/docker_wpress.git wpress\r\n```\r\n\r\n## Deploying\r\nOn downloading source code, you can start deploy wordpress witch just one command\r\n```bash\r\nkefins@localhost:~$ cd wpress\r\nkefins@localhost:~/wpress $ docker-compose up -d\r\nCreating network \"wpress_backup_frontend\" with driver \"bridge\"\r\nCreating network \"wpress_backup_backend\" with driver \"bridge\"\r\nCreating db ... done\r\nCreating wpress ... done\r\nCreating nginxD ... done\r\n```\r\nAfter executing the command, you can check status of docker containers.\r\n```bash\r\nkefins@localhost:~/wpress $ docker ps\r\nCONTAINER ID        IMAGE                        COMMAND                  CREATED             STATUS              PORTS                                      NAMES\r\n9bd40fd78887        nginx:latest                 \"nginx -g 'daemon of…\"   5 minutes ago       Up 5 minutes        0.0.0.0:80-\u003e80/tcp, 0.0.0.0:443-\u003e443/tcp   nginxD\r\nfee4affcd2c2        wordpress:5.0.3-php7.2-fpm   \"docker-entrypoint.s…\"   5 minutes ago       Up 5 minutes        0.0.0.0:9000-\u003e9000/tcp                     wpress\r\n5a7c34636314        mariadb                      \"docker-entrypoint.s…\"   5 minutes ago       Up 5 minutes        0.0.0.0:3306-\u003e3306/tcp                     db\r\n```\r\n\r\nFrom the result of command ==docker ps==, you can find it runs three docker containers,\r\n1. nginx\r\n2. mariadb\r\n3. nginx\r\n\r\n\r\n## Config WordPress\r\nNow you can input == xx.xx.xx.xx:8080 == in you browser to config wordpress, and enjoy...\r\n\r\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fboris-code%2Fwordpress-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fboris-code%2Fwordpress-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fboris-code%2Fwordpress-docker/lists"}