docker-scripts/websites/latest
2020-02-02 03:55:09 +03:00
..
.docker-repository.yml 04/10/2019 2019-04-10 01:56:12 +03:00
.dockerignore 04/10/2019 2019-04-10 01:56:12 +03:00
Dockerfile February patch-1 2020-02-02 03:55:09 +03:00
Makefile nginx 1.17.8; reduced containers sizes 2020-01-30 18:36:30 +03:00
README.md 04/10/2019 2019-04-10 01:56:12 +03:00
run.sh 04/10/2019 2019-04-10 01:56:12 +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