Update root docker-compose.yml file

This commit is contained in:
tompizmor
2018-01-11 11:05:39 +01:00
committed by GitHub
parent 1ba312efc2
commit 5fcb5f736c

View File

@@ -4,12 +4,21 @@ services:
image: 'bitnami/mariadb:latest'
environment:
- ALLOW_EMPTY_PASSWORD=yes
- MARIADB_USER=bn_magento
- MARIADB_PASSWORD=magento_db_password
- MARIADB_DATABASE=bitnami_magento
volumes:
- 'mariadb_data:/bitnami'
magento:
image: 'bitnami/magento:latest'
labels:
kompose.service.type: nodeport
environment:
- MARIADB_HOST=mariadb
- MARIADB_PORT_NUMBER=3306
- MAGENTO_DATABASE_USER=bn_magento
- MAGENTO_DATABASE_PASSWORD=magento_db_password
- MAGENTO_DATABASE_NAME=bitnami_magento
ports:
- '80:80'
- '443:443'