version: '2' services: data: image: chsa/adei:latest command: /bin/false volumes: - adei:/adei mysql: build: ./mysql tty: true restart: always volumes: - db:/var/lib/mysql environment: MYSQL_ROOT_PASSWORD: adei MYSQL_DATABASE: adei MYSQL_USER: adei MYSQL_PASSWORD: adei phpmyadmin: image: phpmyadmin/phpmyadmin:latest links: - mysql:db ports: - 8080:80 backend: image: chsa/adei:latest tty: true entrypoint: /opt/scripts/run-cron.sh restart: always volumes_from: - data links: - mysql:adei-mysql environment: - ADEI_ENABLED_SETUPS=autogen ports: [] frontend: image: chsa/adei:latest tty: true entrypoint: /opt/scripts/run-apache.sh restart: always volumes_from: - data links: - mysql:adei-mysql environment: - ADEI_PORTS=81 ports: - 81:81 darwin_backend: image: chsa/adei:latest tty: true entrypoint: /opt/scripts/run-cron.sh restart: always volumes_from: - data links: - mysql:adei-mysql environment: - ADEI_ENABLED_SETUPS=darwin - MYSQL_DATABASE=adei_darwin ports: [] cpu_quota: 10000 darwin_frontend: image: chsa/adei:latest tty: true entrypoint: /opt/scripts/run-apache.sh restart: always volumes_from: - data links: - mysql:adei-mysql environment: - ADEI_SETUP=darwin - ADEI_PORTS=82 - MYSQL_DATABASE=adei_darwin ports: - 82:82 debug: image: chsa/adei:latest tty: true entrypoint: /bin/bash restart: always volumes_from: - data links: - mysql:adei-mysql environment: - ADEI_ENABLED_SETUPS=autogen ports: - 79:79 darwin_mini: image: chsa/adei-minimal:latest tty: true entrypoint: /bin/bash restart: always volumes_from: - data links: - mysql:adei-mysql environment: - ADEI_ENABLED_SETUPS=darwin - MYSQL_DATABASE=adei_darwin volumes: db: adei: