services: nginx-srv: image: eroncero/nginx-srv ports: - "127.0.0.1:${NGINX_HTTP_PORT}:${HOST_HTTP_PORT}" - "[::1]:${NGINX_HTTPS_PORT}:${HOST_HTTPS_PORT}" restart: unless-stopped volumes: - ./nginx-srv/sites-available:/etc/nginx/sites-available - ./nginx-srv/www:/var/www - ./multi-php-fpm/run/php:/run/php multi-php-fpm: image: eroncero/multi-php-fpm restart: unless-stopped environment: - PHP_VERSIONS=${PHP_VERSIONS} # Inherits from .env volumes: - ./multi-php-fpm/etc/php:/etc/php - ./multi-php-fpm/run/php:/run/php