quivers-8.x-1.x-dev/docker-compose.yml

docker-compose.yml
version: '3.0'

services:
  drupal:
    build: .
    ports:
      - 8080:80
    env_file: 
      - ENV
    volumes:
      - /var/www/html/modules
      - /var/www/html/profiles
      - /var/www/html/themes
      # this takes advantage of the feature in Docker that a new anonymous
      # volume (which is what we're creating here) will be initialized with the
      # existing content of the image at the same location
      - /var/www/html/sites
    links:
      - db
    restart: always

  db:
    image: mysql:5.6.23
    env_file:
      - ENV
    volumes:
      - db-data:/var/lib/mysql/data
    restart: always
volumes:
  db-data:

Главная | Обратная связь

drupal hosting | друпал хостинг | it patrol .inc