You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
863 B
35 lines
863 B
# For more information: https://laravel.com/docs/sail
|
|
version: '3'
|
|
services:
|
|
laravel:
|
|
build: .
|
|
container_name: app
|
|
user: "1000:${GID}"
|
|
ports:
|
|
- '8000:80'
|
|
volumes:
|
|
- '.:/var/www/html'
|
|
|
|
mysql:
|
|
image: 'mysql'
|
|
tmpfs: /var/lib/mysql
|
|
environment:
|
|
MYSQL_ROOT_PASSWORD: ''
|
|
MYSQL_DATABASE: 'test'
|
|
MYSQL_ALLOW_EMPTY_PASSWORD: 'yes'
|
|
pma:
|
|
image: 'phpmyadmin'
|
|
ports:
|
|
- 8080:80
|
|
environment:
|
|
PMA_HOST: mysql
|
|
UPLOAD_LIMIT: 200M
|
|
mongodb:
|
|
container_name: mongodb
|
|
image: mongo
|
|
tmpfs: /data/db
|
|
environment:
|
|
MONGO_INITDB_ROOT_USERNAME: 'root'
|
|
MONGO_INITDB_ROOT_PASSWORD: 'root'
|
|
logging:
|
|
driver: none
|