From 935ad4cb977ef0f3337711a1a3c7ce398eb1622b Mon Sep 17 00:00:00 2001 From: Vincent Vanwaelscappel Date: Wed, 13 Sep 2023 17:37:52 +0200 Subject: [PATCH] wip #6269 @0.25 --- config/apache2.conf | 28 ++++++++++++++++++++++++++++ docker-compose.yml | 4 ++++ 2 files changed, 32 insertions(+) create mode 100644 config/apache2.conf diff --git a/config/apache2.conf b/config/apache2.conf new file mode 100644 index 0000000..d7093a3 --- /dev/null +++ b/config/apache2.conf @@ -0,0 +1,28 @@ +User ${APACHE_RUN_USER} +Group ${APACHE_RUN_GROUP} +ErrorLog ${APACHE_LOG_DIR}/error.log + +HostnameLookups Off + +# Include module configuration: +IncludeOptional mods-enabled/*.load +IncludeOptional mods-enabled/*.conf + +# Include list of ports to listen on +Include ports.conf + + + Options FollowSymLinks + AllowOverride None + Require all denied + + + + Options Indexes FollowSymLinks + AllowOverride None + Require all granted + + + + DocumentRoot /srv/www + diff --git a/docker-compose.yml b/docker-compose.yml index 9a15024..e2a72cd 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -8,6 +8,8 @@ services: - './ssh/id_rsa.pub:/home/user/.ssh/id_rsa.pub:ro' - './ssh/id_rsa:/root/.ssh/id_rsa:ro' - './ssh/id_rsa.pub:/root/.ssh/id_rsa.pub:ro' + - './www/:/var/www/html/' + - './config/apache2.conf:/etc/apache2/apache2.conf' restart: unless-stopped build: . env_file: env @@ -15,6 +17,8 @@ services: - TZ=Europe/Paris networks: - fluidbook-hosting-loadbalancer + ports: + - "9471:80" networks: nginxproxy: -- 2.39.5