Skip to content

Commit

Permalink
docker-compose.yml: fixed env variable definition syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
brusch committed Oct 25, 2021
1 parent 17ca7bf commit 9f4f15b
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ services:
volumes:
- pimcore-demo-database:/var/lib/mysql
environment:
- MYSQL_ROOT_PASSWORD=ROOT
- MYSQL_DATABASE=pimcore
- MYSQL_USER=pimcore
- MYSQL_PASSWORD=pimcore
MYSQL_ROOT_PASSWORD: ROOT
MYSQL_DATABASE: pimcore
MYSQL_USER: pimcore
MYSQL_PASSWORD: pimcore

nginx:
image: nginx:stable-alpine
Expand All @@ -30,7 +30,7 @@ services:
#user: '1000:1000' # set to your uid:gid
image: pimcore/pimcore:PHP8.0-fpm
environment:
- COMPOSER_HOME=/var/www/html
COMPOSER_HOME: /var/www/html
depends_on:
- db
volumes:
Expand All @@ -41,8 +41,8 @@ services:
#user: '1000:1000' # set to your uid:gid
image: pimcore/pimcore:PHP8.0-fpm-debug
environment:
- PHP_IDE_CONFIG="serverName=localhost"
- COMPOSER_HOME=/var/www/html
PHP_IDE_CONFIG: "serverName=localhost"
COMPOSER_HOME: /var/www/html
depends_on:
- db
volumes:
Expand Down

0 comments on commit 9f4f15b

Please sign in to comment.