From 124a4b93a2ce54551aeb3d17f992f3a6e7f68490 Mon Sep 17 00:00:00 2001 From: xiaoz Date: Wed, 22 Nov 2023 17:39:26 +0800 Subject: [PATCH] fix bug --- nginx/docker-compose.yml | 5 +++-- php74/docker-compose.yaml | 1 + 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/nginx/docker-compose.yml b/nginx/docker-compose.yml index 27cb656..42d78a0 100644 --- a/nginx/docker-compose.yml +++ b/nginx/docker-compose.yml @@ -1,7 +1,8 @@ version: '3' services: - xcdn: - image: helloz/xcdn:alpine-1.24.0 + nginx: + image: helloz/nginx:alpine-1.24.0 + container_name: nginx #environment: network_mode: "host" diff --git a/php74/docker-compose.yaml b/php74/docker-compose.yaml index 84af076..58cfcad 100644 --- a/php74/docker-compose.yaml +++ b/php74/docker-compose.yaml @@ -4,6 +4,7 @@ services: php-fpm: image: helloz/php:7.4-fpm-alpine network_mode: host + container_name: php-7.4 volumes: - ./www.conf:/usr/local/etc/php-fpm.d/www.conf - ./php.ini:/usr/local/etc/php/conf.d/php.ini