{"id":22799910,"url":"https://github.com/chocapikk/projet-docker","last_synced_at":"2026-01-08T15:11:13.195Z","repository":{"id":177632714,"uuid":"657768639","full_name":"Chocapikk/projet-docker","owner":"Chocapikk","description":"Projet Docker pour implémenter un docker-compose qui créé un wordpress avec un mysql.","archived":false,"fork":false,"pushed_at":"2023-06-30T15:43:00.000Z","size":2,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-05T21:53:38.245Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"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/Chocapikk.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":"2023-06-23T20:06:21.000Z","updated_at":"2023-06-23T20:06:59.000Z","dependencies_parsed_at":null,"dependency_job_id":"9ac18fc5-b600-478c-8851-1b1eb2035033","html_url":"https://github.com/Chocapikk/projet-docker","commit_stats":null,"previous_names":["chocapikk/projet-docker"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Chocapikk%2Fprojet-docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Chocapikk%2Fprojet-docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Chocapikk%2Fprojet-docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Chocapikk%2Fprojet-docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Chocapikk","download_url":"https://codeload.github.com/Chocapikk/projet-docker/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246365646,"owners_count":20765549,"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-12-12T07:10:20.293Z","updated_at":"2026-01-08T15:11:13.143Z","avatar_url":"https://github.com/Chocapikk.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Deploying WordPress with Docker\n\nThis repository contains the necessary files to deploy a WordPress site using Docker and Docker Compose.\n\n## Prerequisites\n\n- Docker\n- Docker Compose\n\n## File `docker-compose.yml` Description\n\nThe `docker-compose.yml` file contains configuration for two services: `wordpress` and `db`.\n\n- The `wordpress` service uses the official WordPress image, exposes port 8080 and sets the necessary environment variables for connecting to the database. Data is persisted using a volume named `wordpress`.\n- The `db` service uses the MySQL 5.7 image, sets the environment variables for the database and user creation, and persists the data using a volume named `db`.\n\nThe database credentials are pre-set in the configuration, you don't need to modify them unless you wish to.\n\n## Usage\n\n1. Clone this repository on your system.\n```sh\ngit clone https://github.com/Chocapikk/projet-docker.git\n```\n\n2. Navigate into the project directory.\n```sh\ncd projet-docker\n```\n\n3. Run Docker Compose to start up the Docker services.\n```sh\nsudo docker-compose up --build -d --remove-orphans\n```\n\nAfter running these commands, WordPress and MySQL will be running in separate Docker containers. You can access your WordPress site by navigating to `http://localhost:8080` in your web browser.\n\nPlease note that on the first run, you will need to go through the WordPress installation process, which will ask for the username and password set in the `docker-compose.yml` file.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchocapikk%2Fprojet-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchocapikk%2Fprojet-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchocapikk%2Fprojet-docker/lists"}