Skip to content

Commit dce1042

Browse files
committed
Add docker-composer.yaml for local development
1 parent 9aa9277 commit dce1042

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

docker-compose.yaml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
version: '3.8'
2+
3+
services:
4+
db:
5+
container_name: mysql-laravel-eloquent-spatial
6+
image: mysql:8.0
7+
environment:
8+
MYSQL_DATABASE: laravel_eloquent_spatial_test
9+
MYSQL_ALLOW_EMPTY_PASSWORD: true
10+
volumes:
11+
- mysql_data:/var/lib/mysql
12+
ports:
13+
- 3306:3306
14+
restart: unless-stopped
15+
16+
volumes:
17+
mysql_data:

0 commit comments

Comments
 (0)