Skip to content
Snippets Groups Projects
Commit 70eda5b4 authored by DELCOURT Mathias's avatar DELCOURT Mathias
Browse files

nouveaux services docker

parent 63075ea6
No related branches found
No related tags found
No related merge requests found
version: '3.8'
services:
php:
build: './docker/php'
......@@ -7,4 +6,27 @@ services:
- ${PHP_PORT:-8080}:80
volumes:
- ./:/var/www/html
command: php -S 0.0.0.0:80 -t .
\ No newline at end of file
command: php -S 0.0.0.0:80 -t .
mysql:
image: mysql:latest
environment:
MYSQL_ROOT_PASSWORD: ${DB_ROOT_PASSWORD:-root}
MYSQL_DATABASE: ${DB_NAME:-racoin}
MYSQL_USER: ${DB_USER:-laravel}
MYSQL_PASSWORD: ${DB_PASSWORD:-laravel}
ports:
- ${MYSQL_PORT:-3306}:3306
volumes:
- mysql_data:/var/lib/mysql
adminer:
image: adminer:latest
platform: linux/arm64/v8
ports:
- ${ADMINER_PORT:-8081}:8080
depends_on:
- mysql
volumes:
mysql_data:
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment