Skip to content

Instantly share code, notes, and snippets.

@jenovateurs
Created November 12, 2019 10:54
Show Gist options
  • Save jenovateurs/d0a1a54b60a679081dfa8f5bfd08dc2b to your computer and use it in GitHub Desktop.
Save jenovateurs/d0a1a54b60a679081dfa8f5bfd08dc2b to your computer and use it in GitHub Desktop.
Etape 3 : Ajout des paramètres MySQL dans le docker-compose.yml
version: '3'
services:
base_de_donnees:
image: mysql:latest
environment:
MYSQL_ROOT_PASSWORD: admin-mot-de-passe
MYSQL_DATABASE: nom-base-de-donnee-wordpress
MYSQL_USER: utilisateur-wordpress
MYSQL_PASSWORD: mot-de-passe-wordpress
wordpress:
image: wordpress:latest
depends_on:
- base_de_donnees
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment