Skip to content
Open
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
9 changes: 7 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ services:
build:
context: .
dockerfile: Dockerfile
container_name: app
restart: unless-stopped
working_dir: /var/www/
volumes:
Expand All @@ -18,6 +19,7 @@ services:
# nginx
nginx:
image: nginx:alpine
container_name: nginx
restart: unless-stopped
ports:
- "8989:80"
Expand All @@ -29,7 +31,8 @@ services:

# db mysql
db:
image: mysql:5.7.22
image: mysql/mysql-server:8.0
container_name: mysql
restart: unless-stopped
environment:
MYSQL_DATABASE: ${DB_DATABASE:-laravel}
Expand All @@ -46,6 +49,7 @@ services:
# PHPMyAdmin
phpmyadmin:
image: phpmyadmin/phpmyadmin
container_name: phpmyadmin
restart: unless-stopped
ports:
- "8080:80"
Expand All @@ -58,7 +62,8 @@ services:

# redis
redis:
image: redis:latest
image: redis:alpine
container_name: redis
networks:
- laravel

Expand Down