Sign inSign up

llaumgui/httpd

By llaumgui

•Updated 6 days ago

An Apache HTTPd images forked from offical repository

Image
Web servers
1

5.5K

llaumgui/httpd repository overview

⁠Alpine Apache HTTPd 2.4

Build Status Docker Pull Latest Version Software License

An Apache HTTPd 2.4 image forked from the official repository⁠.

With configuration:

Works also with:

Allow environment variables PUID and PGID to change the user which executes the HTTP process.

⁠Usage

⁠With Docker client

You can run this container with the Docker client:

docker run -d \
  --volume /docker/volumes/www:/var/www \
  --volume /docker/volumes/httpd24/conf/vhost.d:/usr/local/apache2/conf/vhost.d:ro \
  --volume /docker/volumes/httpd24/conf/ssl:/usr/local/apache2/conf/ssl:ro \
  -p 80:80 \
  -p 443:443 \
  llaumgui/httpd24
⁠With Compose

You can use this container in a docker-compose.yml file:

  httpd:
    container_name: httpd
    image: llaumgui/httpd24
    restart: always
    environment:
      TZ: 'Europe/Paris'
      PUID: 82
      PGID: 82
    volumes:
     - /docker/volumes/www:/var/www/
     - /docker/volumes/httpd24/conf/vhost.d:/usr/local/apache2/conf/vhost.d:ro
     - /docker/volumes/httpd24/conf/ssl:/usr/local/apache2/conf/ssl:ro
    ports:
     - "80:80"
     - "443:443"
⁠Environment Variables
VariableDescriptionDefault Value
TZTimezone configuration.N/A
PUIDUser ID for the httpd process (www-data).82
PGIDGroup ID for the httpd process (www-data).82

Tag summary

Content type

Image

Digest

sha256:3b5b979f4…

Size

20.7 MB

Last updated

6 days ago

docker pull llaumgui/httpd