version: '2' services: mariadb: image: bitnami/mariadb:latest environment: - ALLOW_EMPTY_PASSWORD=yes - MARIADB_USER=bn_drupal - MARIADB_DATABASE=bitnami_drupal volumes: - 'mariadb_data:/bitnami' drupal: # A Red Hat Customer Portal login is required to access this image. If you do not have one already, you can obtain one at https://www.redhat.com/wapps/ugc/register.html # Pull action should be successful from any RHEL Host system running the Docker service and executing the following command: docker login registry.connect.redhat.com # + info: https://access.redhat.com/containers/?tab=images&platform=docker#/registry.connect.redhat.com/bitnami/drupal-nginx-php7 image: registry.connect.redhat.com/bitnami/drupal-nginx-php7 environment: - MARIADB_HOST=mariadb - MARIADB_PORT_NUMBER=3306 - DRUPAL_HTTP_PORT=8080 - DRUPAL_HTTPS_PORT=8443 - DRUPAL_DATABASE_USER=bn_drupal - DRUPAL_DATABASE_NAME=bitnami_drupal - ALLOW_EMPTY_PASSWORD=yes ports: - '80:8080' - '443:8443' volumes: - 'drupal_data:/bitnami/drupal' - './drupal-vhosts.conf:/bitnami/nginx/conf/vhosts/drupal-vhosts.conf' depends_on: - mariadb volumes: mariadb_data: driver: local drupal_data: driver: local