initial commit
This commit is contained in:
26
docker-compose.yaml
Normal file
26
docker-compose.yaml
Normal file
@@ -0,0 +1,26 @@
|
||||
services:
|
||||
mariadb:
|
||||
build:
|
||||
context: images
|
||||
dockerfile: SQL_Dockerfile
|
||||
environment:
|
||||
MARIADB_ROOT_PASSWORD: super_strong_password_of_root
|
||||
MARIADB_DATABASE: laravel_db
|
||||
ports:
|
||||
- "3306:3306"
|
||||
volumes:
|
||||
- laravel_db_volume:/var/lib/mysql
|
||||
|
||||
laravel:
|
||||
image: bitnami/laravel
|
||||
ports:
|
||||
- "8080:8000"
|
||||
environment:
|
||||
LARAVEL_DATABASE_USER: laravel_user
|
||||
LARAVEL_DATABASE_PASSWORD: super_strong_password
|
||||
LARAVEL_DATABASE_NAME: laravel_db
|
||||
volumes:
|
||||
- ./laravel:/app
|
||||
|
||||
volumes:
|
||||
laravel_db_volume:
|
||||
Reference in New Issue
Block a user