Update docker-compose.yml

This commit is contained in:
tompizmor 2017-11-21 16:20:28 +01:00 committed by GitHub
parent d8d3a4556f
commit e4085be405
1 changed files with 8 additions and 0 deletions

View File

@ -5,12 +5,20 @@ services:
image: 'bitnami/mariadb:latest'
environment:
- ALLOW_EMPTY_PASSWORD=yes
- MARIADB_USER=bn_drupal
- MARIADB_DATABASE=bitnami_drupal
volumes:
- 'mariadb_data:/bitnami'
drupal:
image: 'bitnami/drupal:latest'
labels:
kompose.service.type: nodeport
environment:
- MARIADB_HOST=mariadb
- MARIADB_PORT_NUMBER=3306
- DRUPAL_DATABASE_USER=bn_drupal
- DRUPAL_DATABASE_NAME=bitnami_drupal
- ALLOW_EMPTY_PASSWORD=yes
ports:
- '80:80'
- '443:443'