Update docker-compose.yml
This commit is contained in:
1 parent
2f1feed666
commit
8dbff4da12
1 file changed
+9
-2
@@ -22,6 +22,8 @@ services:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
args:
|
||||
PHP_VERSION: "8.2"
|
||||
container_name: php
|
||||
restart: always
|
||||
volumes:
|
||||
@@ -30,11 +32,16 @@ services:
|
||||
- dev_network
|
||||
|
||||
php74:
|
||||
image: php:7.4.33-fpm
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
args:
|
||||
PHP_VERSION: "7.4"
|
||||
container_name: php74
|
||||
restart: always
|
||||
volumes:
|
||||
- ./html:/var/www/html
|
||||
networks:
|
||||
- dev_network
|
||||
|
||||
mysql:
|
||||
image: mysql:8.0.23
|
||||
|
||||
Reference in new issue
Block a user