Skip to content

Commit a232a61

Browse files
author
Brylie Christopher Oxley
committed
Restore composer container
1 parent 43f2981 commit a232a61

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

development/docker-compose.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ services:
5151
- ${IP}:8080:80
5252
links:
5353
- db:db
54+
5455
db:
5556
build:
5657
context: ./bin/${DATABASE} #change db if required in .env file
@@ -65,5 +66,16 @@ services:
6566
MYSQL_USER: root
6667
MYSQL_ROOT_PASSWORD: "${DB_ROOT_PASSWORD}"
6768

69+
composer:
70+
image: composer/composer
71+
container_name: cc-base-composer
72+
working_dir: /var/www/html/wp-content/themes/creativecommons-base/
73+
command: sh -c "composer install"
74+
restart: "no"
75+
depends_on:
76+
- wp
77+
volumes:
78+
- ../:/var/www/html/wp-content/themes/creativecommons-base
79+
6880
volumes:
6981
db_data:

0 commit comments

Comments
 (0)