update documentation
[SKIP CI]
This commit is contained in:
@@ -3,57 +3,40 @@ services:
|
||||
app:
|
||||
image: vistanarvas/simple-laravel
|
||||
ports:
|
||||
- '8080:80'
|
||||
- '8080:8080'
|
||||
- '5173:5173'
|
||||
environment:
|
||||
WEBSERVER_PORT: 80
|
||||
DB_CONNECTION: mysql
|
||||
DB_HOST: mysql
|
||||
DB_PORT: 3306
|
||||
DB_DATABASE: laravel
|
||||
DB_USERNAME: laravel
|
||||
DB_PASSWORD: password
|
||||
BOOT_NPM_DEV: true # also starts `npm dev`
|
||||
BOOT_NPM_INSTALL: true # runs `npm install` on boot
|
||||
|
||||
BOOT_COMPOSER_INSTALL: true # runs `composer install` on boot
|
||||
BOOT_NPM_INSTALL: true # runs `npm install` on boot
|
||||
BOOT_NPM_DEV: true # starts `npm dev`
|
||||
|
||||
# Extra packages and php extensions to install on first boot
|
||||
# EXTRA_APK_PACKAGES: # example: libpng-dev icu-dev
|
||||
# EXTRA_PHP_EXTENSIONS: # example: exif intl bcmath gd pdo_mysql
|
||||
volumes:
|
||||
- '[Path to your laravel project]:/var/www/html'
|
||||
depends_on:
|
||||
- mysql
|
||||
- redis
|
||||
- mailpit
|
||||
|
||||
mysql:
|
||||
image: 'mysql/mysql-server:8.0'
|
||||
ports:
|
||||
- '3306:3306'
|
||||
environment:
|
||||
MYSQL_ROOT_PASSWORD: '${DB_PASSWORD}'
|
||||
MYSQL_ROOT_PASSWORD: root_password
|
||||
MYSQL_ROOT_HOST: '%'
|
||||
MYSQL_DATABASE: '${DB_DATABASE}'
|
||||
MYSQL_USER: '${DB_USERNAME}'
|
||||
MYSQL_PASSWORD: '${DB_PASSWORD}'
|
||||
MYSQL_DATABASE: laravel
|
||||
MYSQL_USER: laravel
|
||||
MYSQL_PASSWORD: password
|
||||
MYSQL_ALLOW_EMPTY_PASSWORD: 1
|
||||
volumes:
|
||||
- 'mysql:/var/lib/mysql'
|
||||
|
||||
redis:
|
||||
image: 'redis:alpine'
|
||||
ports:
|
||||
- '6379:6379'
|
||||
volumes:
|
||||
- 'redis:/data'
|
||||
|
||||
mailpit:
|
||||
image: 'axllent/mailpit:latest'
|
||||
ports:
|
||||
- '1025:1025'
|
||||
- '8025:8025'
|
||||
|
||||
volumes:
|
||||
mysql:
|
||||
driver: local
|
||||
redis:
|
||||
driver: local
|
||||
driver: local
|
||||
Reference in New Issue
Block a user