Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
drivers
flutterapp
vendor
node_modules
.git
.github
.phive
.phpunit.cache
.yarn
config/app_local.php
phpunit.xml
24 changes: 24 additions & 0 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
---
version: '3'
services:
php:
build:
context: .
dockerfile: Dockerfile
environment:
DATABASE_URL: "mysql://docket:docket-secret@mysql/docket"
ports:
- 5000:5000
depends_on:
- mysql
mysql:
image: docker.io/library/mysql:8.0
environment:
MYSQL_ROOT_PASSWORD: root--secret
MYSQL_DATABASE: docket
MYSQL_USER: docket
MYSQL_PASSWORD: docket-secret
volumes:
- mysql_data:/var/lib/mysql
volumes:
mysql_data: