Skip to content

Commit

Permalink
update docker-compose
Browse files Browse the repository at this point in the history
  • Loading branch information
dbjpanda committed Jul 4, 2018
1 parent 204cd7d commit 03ba43d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Empty file added code/.gitkeep
Empty file.
6 changes: 4 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ services:
container_name: ${PROJECT_NAME}
image: dbjpanda/drupal-on-docker-php
volumes:
- ./code:/var/www/${PROJECT_NAME}:cached
- ./code/drupal:/var/www/${PROJECT_NAME}:cached
working_dir: /var/www/${PROJECT_NAME}
networks:
- drupal
Expand All @@ -15,7 +15,7 @@ services:
container_name: ${PROJECT_NAME}.nginx
image: dbjpanda/drupal-on-docker-nginx
volumes:
- ./code:/var/www/${PROJECT_NAME}:cached
- ./code/drupal:/var/www/${PROJECT_NAME}:cached
working_dir: /var/www/${PROJECT_NAME}
environment:
PROJECT_NAME: ${PROJECT_NAME}
Expand All @@ -34,6 +34,8 @@ services:
mariadb:
container_name: ${PROJECT_NAME}.mariadb
image: dbjpanda/drupal-on-docker-mariadb
# volumes:
# - ./code/drupal/db-dump/drupal.sql:/docker-entrypoint-initdb.d/dump.sql
environment:
MYSQL_ROOT_PASSWORD: ${MYSQL_ROOT_PASSWORD}
MYSQL_DATABASE: ${MYSQL_DATABASE}
Expand Down

0 comments on commit 03ba43d

Please sign in to comment.