docker-scripts/linux/apache2/latest
2021-06-02 02:24:05 +03:00
..
Dockerfile websites -> apache2 2021-04-01 13:42:31 +03:00
Makefile apache2 makefile cleanup 2021-06-02 02:24:05 +03:00
README.md websites -> apache2 2021-04-01 13:42:31 +03:00
run.sh chmod +x fix 2021-04-01 20:30:04 +03:00

Compose example

version: '3.7'
services:
  websites:
    image: epicmorg/websites
#    depends_on:
#      - mysql
#      - memcached
    restart: unless-stopped
    volumes:
      - /etc/localtime:/etc/localtime
      - /etc/timezone:/etc/timezone
#      - /etc/letsencrypt:/etc/letsencrypt
      - www:/var/www
      - apache2:/etc/apache2
      - php:/etc/php
    restart: unless-stopped
#    extra_hosts:
#      - "example.com:192.168.0.11"
    tmpfs:
      - /tmp
      - /var/lib/php/sessions
volumes:
  www:
    external: true
  apache2:
    external: true
  php:
    external: true