Created
September 9, 2021 13:34
-
-
Save josfaber/cd8d5f3b6bd2755b91d3e9bd5c677038 to your computer and use it in GitHub Desktop.
Docker LAMPP composer file
This file contains 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.7' | |
services: | |
php-httpd: | |
image: php:7.3-apache | |
ports: | |
- 80:80 | |
volumes: | |
- "./DocumentRoot:/var/www/html" | |
mariadb: | |
image: mariadb:10.5.2 | |
volumes: | |
- mariadb-volume:/var/lib/mysql | |
environment: | |
TZ: "Europe/Amsterdam" | |
MYSQL_ALLOW_EMPTY_PASSWORD: "no" | |
MYSQL_ROOT_PASSWORD: "thewall" | |
MYSQL_USER: 'johnsnow' | |
MYSQL_PASSWORD: 'winteriscoming' | |
MYSQL_DATABASE: 'got' | |
phpmyadmin: | |
image: phpmyadmin/phpmyadmin | |
links: | |
- 'mariadb:db' | |
ports: | |
- 8081:80 | |
volumes: | |
mariadb-volume: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment