eventbrite_one_way_sync-1.0.0/docker-compose.yml

docker-compose.yml
---
# This file is used by developers who use ./scripts/deploy.sh to set up a local
# development environment to help with development this module.
version: '3'

services:
  drupal:
    image: dummy_image_required
    volumes:
      - ".:/var/www/html/modules/custom/eventbrite_one_way_sync"
    working_dir: /var/www/html

  webserver:
    build:
      context: .
      dockerfile: Dummy_Dockerfile_required
    ports:
      - "80"
    links:
      # This seems to be required as per
       # https://stackoverflow.com/a/48722140/1207752, even though in most
       # cases eschewing this is not a problem. Without this, the
       # webserver container might not see the Drupal container for a
       # split second when everything is being spun up, resulting in a fatal
       # error and the webserver container to exit, and requiring a restart
       # of the container.
       - drupal

  mysql:
    image: mariadb
    environment:
      MYSQL_DATABASE: drupal
      MYSQL_ROOT_PASSWORD: drupal
      MYSQL_ALLOW_EMPTY_PASSWORD: 'no'

  dummy_server:
    build:
      context: .
      dockerfile: ./scripts/lib/dummy-eventbrite-server/Dockerfile
    ports:
      - "80"
    volumes:
      - "./scripts/lib/dummy-eventbrite-server/www:/var/www/html/"
      - "./scripts/lib/dummy-eventbrite-server/mod_rewrite.conf:/etc/apache2/sites-enabled/mod_rewrite.conf"

# Specifying the network name makes it predictable on all environments,
# for example when we run browser tests.
# See https://github.com/docker/compose/issues/3736.
networks:
  default:
    external:
      name: eventbrite_one_way_sync_default

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

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