Update docker-compose.yml

This commit is contained in:
Kenny Yang authored and GitHub committed 2024-06-13 14:46:35 +08:00
1 parent ac974dd015
commit f187fae7a3
1 file changed
+14
+14
View File
@@ -33,12 +33,26 @@ services:
build:
context: .
dockerfile: Dockerfile
args:
PHP_VERSION: "8.2"
container_name: php
restart: always
volumes:
- ./html:/var/www/html
networks:
- dev_network
php74:
build:
context: .
dockerfile: Dockerfile
args:
PHP_VERSION: "7.4"
container_name: php74
volumes:
- ./html:/var/www/html
networks:
- dev_network
mysql:
image: mysql:8.0.23