docker-scripts/websites
2019-03-04 23:48:33 +03:00
..
.docker-repository.yml fixes 2018-09-18 16:27:24 +03:00
.dockerignore fixes 2018-09-18 16:27:24 +03:00
Dockerfile updates 03/04/2019 2019-03-04 23:48:33 +03:00
locale.gen new docker for apache2 2019-02-11 14:52:59 +03:00
Makefile new docker for apache2 2019-02-11 14:52:59 +03:00
README.md readme 2019-02-11 18:47:45 +03:00
run.sh fixed chmod 777 2018-09-18 17:35:16 +03:00
sources.list new docker for apache2 2019-02-11 14:52:59 +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