Skip to content
Permalink
Browse files

Load docker env variables from a docker-specific env file

  • Loading branch information...
StijnVrolijk committed Jun 27, 2019
1 parent 537d481 commit d8367d0f7b6a67e8bfcdbff49ecdb7e2311c9296
Showing with 10 additions and 0 deletions.
  1. +2 −0 docker-compose.yml
  2. +8 −0 var/docker/.env
@@ -17,6 +17,8 @@ services:
volumes:
- .:/var/www/html:cached
- ./src/Frontend/Files:/var/www/html/src/Frontend/Files:cached
env_file:
- ./var/docker/.env

db:
image: "mariadb:latest"
@@ -0,0 +1,8 @@
# Use this file to set your environment variables for Docker

# XDebug variables
# Configure the IP of your hostmachine, or use the special Mac-only DNS name which will resolve to the internal IP of the host.
DOCKER_HOST_IP=docker.for.mac.localhost
PHP_IDE_CONFIG=serverName=localhost
XDEBUG_IDEKEY=PHPSTORM
XDEBUG_PORT=9000

0 comments on commit d8367d0

Please sign in to comment.
You can’t perform that action at this time.