-
* replacing of ServiceLocator by ContainerInterface at several Factories * adjusts finc theme.config.php to zf3 conventions * replaces docker php 5.6 image by v7.2
f9ebfb79
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
docker-compose.yml 2.47 KiB
version: '2'
services:
php:
image: ubleipzig/vufind-php:7.2-8-debug
volumes:
- ./:/usr/local/vufind
environment:
VUFIND_LOCAL_DIR: /usr/local/vufind/local/dev
VUFIND_CACHE_DIR: /usr/local/vufind/data/cache
VUFIND_LOCAL_MODULES: finc
VUFIND_ENV: development
httpd:
image: ubleipzig/vufind-httpd:2.4-2
ports:
- 80:80
volumes:
- ./:/usr/local/vufind:ro
- ./data/cache:/var/cache/vufind:ro
depends_on:
- php
command: httpd -D FOREGROUND -c "ProxyTimeout 3600"
db:
image: mariadb:10.2
ports:
- 127.0.0.1:3306:3306
volumes:
- mariadb-data:/var/lib/mysql:z
environment:
MYSQL_ROOT_PASSWORD: adminpw
command:
- --character-set-server=utf8mb4
- --collation-server=utf8mb4_unicode_ci
smtp:
image: useltmann/mailcollect:8-1
ports:
- '143:143'
- '25:25'
volumes:
- mail-data:/home/dev/Maildir:z
grunt:
image: ubleipzig/vufind-php:7.2-8-debug
volumes:
- ./:/usr/local/vufind:z
- npm-cache:/home/www-data/.npm
environment:
NODE_ENV: development
command: npm install && node_modules/.bin/grunt watch
composer:
image: ubleipzig/vufind-php:7.2-8-debug
volumes:
- ./:/usr/local/vufind:z
- composer-cache:/home/www-data/.composer
- ${SSH_AUTH_SOCK}:/ssh-agent
environment:
SSH_AUTH_SOCK: /ssh-agent
command: phing composer -Dcomposer_extra_params=--no-scripts
autoconfig:
image: ubleipzig/vufind-php:7.2-8-debug
volumes:
- ./:/usr/local/vufind:z
environment:
VUFIND_SITE: local
VUFIND_INSTANCE: dev
VUFIND_DB_CLIENT: "%"