Browse Source

fix bug

main
xiaoz 1 year ago
parent
commit
124a4b93a2
  1. 5
      nginx/docker-compose.yml
  2. 1
      php74/docker-compose.yaml

5
nginx/docker-compose.yml

@ -1,7 +1,8 @@
version: '3' version: '3'
services: services:
xcdn: nginx:
image: helloz/xcdn:alpine-1.24.0 image: helloz/nginx:alpine-1.24.0
container_name: nginx
#environment: #environment:
network_mode: "host" network_mode: "host"

1
php74/docker-compose.yaml

@ -4,6 +4,7 @@ services:
php-fpm: php-fpm:
image: helloz/php:7.4-fpm-alpine image: helloz/php:7.4-fpm-alpine
network_mode: host network_mode: host
container_name: php-7.4
volumes: volumes:
- ./www.conf:/usr/local/etc/php-fpm.d/www.conf - ./www.conf:/usr/local/etc/php-fpm.d/www.conf
- ./php.ini:/usr/local/etc/php/conf.d/php.ini - ./php.ini:/usr/local/etc/php/conf.d/php.ini

Loading…
Cancel
Save