This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import RPi.GPIO as GPIO | |
import SimpleMFRC522 | |
reader = SimpleMFRC522.SimpleMFRC522() | |
try: | |
id, text = reader.read() | |
print(id) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3' | |
services: | |
base_de_donnees: | |
image: mysql:latest | |
container_name: mysql_server | |
volumes: | |
- C:/docker/wordpress/mysql:/var/lib/mysql:rw | |
environment: | |
MYSQL_ROOT_PASSWORD: admin-mot-de-passe | |
MYSQL_DATABASE: nom-base-de-donnee-wordpress |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3' | |
services: | |
base_de_donnees: | |
image: mysql:latest | |
container_name: mysql_server | |
volumes: | |
- ./mysql:/var/lib/mysql:rw | |
environment: | |
MYSQL_ROOT_PASSWORD: admin-mot-de-passe | |
MYSQL_DATABASE: nom-base-de-donnee-wordpress |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3' | |
services: | |
base_de_donnees: | |
container_name: mysql_server | |
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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3' | |
services: | |
base_de_donnees: | |
image: mysql:latest | |
container_name: mysql_server | |
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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker run --name some-mysql -e MYSQL_ROOT_PASSWORD=my-secret-pw -e MYSQL_DATABASE=wordpress -e MYSQL_USER=root -d mysql:8 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3' | |
services: | |
base_de_donnees: | |
image: mysql:latest | |
wordpress: | |
image: wordpress:latest | |
depends_on: | |
- base_de_donnees |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3' | |
services: | |
base_de_donnees: | |
image: mysql:latest | |
wordpress: | |
image: wordpress:latest |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3' | |
services: | |
redis: | |
image: redis |
NewerOlder