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:
|
build:
|
||||||
context: .
|
context: .
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
|
args:
|
||||||
|
PHP_VERSION: "8.2"
|
||||||
container_name: php
|
container_name: php
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
@@ -30,11 +32,16 @@ services:
|
|||||||
- dev_network
|
- dev_network
|
||||||
|
|
||||||
php74:
|
php74:
|
||||||
image: php:7.4.33-fpm
|
build:
|
||||||
|
context: .
|
||||||
|
dockerfile: Dockerfile
|
||||||
|
args:
|
||||||
|
PHP_VERSION: "7.4"
|
||||||
container_name: php74
|
container_name: php74
|
||||||
restart: always
|
|
||||||
volumes:
|
volumes:
|
||||||
- ./html:/var/www/html
|
- ./html:/var/www/html
|
||||||
|
networks:
|
||||||
|
- dev_network
|
||||||
|
|
||||||
mysql:
|
mysql:
|
||||||
image: mysql:8.0.23
|
image: mysql:8.0.23
|
||||||
|
|||||||
Reference in new issue
Block a user