Permalink
Fetching contributors…
Cannot retrieve contributors at this time
76 lines (68 sloc) 1.3 KB
version: '3.4'
services:
civicrm:
image: michaelmcandrew/civicrm
hostname: civicrm
environment:
TERM: xterm-color
APACHE_RUN_USER: buildkit
links:
- mysql
ports:
- "8080:8080"
volumes:
- buildkit:/buildkit
- ./build:/buildkit/build
- ./extra:/extra
- amp:/buildkit/.amp
- bower-cache:/buildkit/.cache/bower
- composer-cache:/buildkit/.composer
- drush-cache:/buildkit/.drush
- npm-cache:/buildkit/.npm
- git-cache:/buildkit/app/tmp/git-cache
networks:
- buildkit
restart: always
mysql:
image: mysql:5.7
environment:
MYSQL_ROOT_PASSWORD: buildkit
volumes:
- mysql:/var/lib/mysql
networks:
- buildkit
restart: always
phpmyadmin:
image: phpmyadmin/phpmyadmin
ports:
- "8081:80"
links:
- mysql
environment:
PMA_HOST: mysql
PMA_USER: root
PMA_PASSWORD: buildkit
networks:
- buildkit
restart: always
maildev:
image: djfarrelly/maildev
ports:
- "8082:80"
networks:
- buildkit
restart: always
volumes:
amp:
buildkit:
bower-cache:
composer-cache:
drush-cache:
git-cache:
npm-cache:
mysql:
networks:
buildkit:
ipam:
config:
- subnet: 172.26.0.0/16