docker-scripts/linux/ecosystem/apache2/latest
2022-01-25 15:29:43 +03:00
..
docker-compose.yml folders 2021-09-21 20:44:37 +03:00
Dockerfile timezonedb php fixes 2022-01-25 13:22:18 +03:00
Makefile Makefile improvements 2021-11-02 03:55:32 +03:00
README.md folders 2021-09-21 20:44:37 +03:00
run.sh apache2 startup fix 2022-01-25 15:29:43 +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