This commit is contained in:
Refactorian
2024-03-22 23:41:13 +09:00
parent 360dff4842
commit 49fb66f060
2 changed files with 49 additions and 19 deletions

View File

@@ -3,8 +3,10 @@
# Laravel Docker Starter Kit # Laravel Docker Starter Kit
- Laravel v11.x - Laravel v11.x
- PHP v8.3.x - PHP v8.3.x
- MySQL v8.1 - MySQL v8.1.x (default)
- MariaDB v10.11 - MariaDB v10.11
- PostgreSQL v16.x
- pgAdmin v4.x
- phpMyAdmin v5.x - phpMyAdmin v5.x
- Mailpit v1.x - Mailpit v1.x
- Node.js v18.x - Node.js v18.x

View File

@@ -44,24 +44,6 @@ services:
MYSQL_USER: refactorian MYSQL_USER: refactorian
MYSQL_PASSWORD: refactorian MYSQL_PASSWORD: refactorian
# ####################################################################################################
# # DATABASE (MariaDB)
# ####################################################################################################
# db:
# image: mariadb:10.11
# ports:
# - 3306:3306
# volumes:
# - .docker/db/data:/var/lib/mysql
# - .docker/logs:/var/log/mysql
# - .docker/db/my.cnf:/etc/mysql/conf.d/my.cnf
# - .docker/db/sql:/docker-entrypoint-initdb.d
# environment:
# MYSQL_ROOT_PASSWORD: root
# MYSQL_DATABASE: laravel_db_name
# MYSQL_USER: laravel_db_user
# MYSQL_PASSWORD: laravel_db_pass
#################################################################################################### ####################################################################################################
# phpMyAdmin # phpMyAdmin
#################################################################################################### ####################################################################################################
@@ -107,3 +89,49 @@ services:
- .docker/redis/data:/data - .docker/redis/data:/data
ports: ports:
- 6379:6379 - 6379:6379
# ####################################################################################################
# # DATABASE (MariaDB)
# ####################################################################################################
# db:
# image: mariadb:10.11
# ports:
# - 3306:3306
# volumes:
# - .docker/db/data:/var/lib/mysql
# - .docker/logs:/var/log/mysql
# - .docker/db/my.cnf:/etc/mysql/conf.d/my.cnf
# - .docker/db/sql:/docker-entrypoint-initdb.d
# environment:
# MYSQL_ROOT_PASSWORD: root
# MYSQL_DATABASE: laravel_db_name
# MYSQL_USER: laravel_db_user
# MYSQL_PASSWORD: laravel_db_pass
####################################################################################################
# PostgreSQL
####################################################################################################
# db:
# image: postgres:16
# ports:
# - 5432:5432
# volumes:
# - .docker/db/data:/var/lib/postgresql/data
# - .docker/db/sql:/docker-entrypoint-initdb.d
# environment:
# - POSTGRES_USER=refactorian
# - POSTGRES_PASSWORD=refactorian
# - POSTGRES_DB=refactorian
####################################################################################################
# pgAdmin
####################################################################################################
# pgadmin:
# image: dpage/pgadmin4
# ports:
# - 5050:80
# environment:
# - PGADMIN_DEFAULT_EMAIL=admin@admin.com
# - PGADMIN_DEFAULT_PASSWORD=password
# depends_on:
# - db