apache安装

version: '3'
services:
httpd:
image: httpd:2.4.46
container_name: httpd
privileged: true
restart: always
ports:
- 80:80
volumes:
- /opt/apache2/www/:/usr/local/apache2/htdocs/
- /opt/apache2/logs/:/usr/local/apache2/logs/
- /opt/apache2/conf/httpd.conf:/usr/local/apache2/conf/httpd.conf

你可能感兴趣的:(apache安装)