version: '3.4' services: web: build: context: . cache_from: - mozmeao/kitsune:latest image: kitsune:latest command: ./manage.py runserver 0.0.0.0:8000 user: ${UID:-kitsune} volumes: - ./:/app - node_modules:/app/node_modules - bower_components:/app/bower_components depends_on: - mariadb - elasticsearch - redis ports: - "8000:8000" mariadb: image: mariadb:10.0 environment: - MYSQL_ROOT_PASSWORD=kitsune - MYSQL_USER=kitsune - MYSQL_PASSWORD=kitsune - MYSQL_DATABASE=kitsune entrypoint: - docker-entrypoint.sh - --character-set-server=utf8 - --collation-server=utf8_unicode_ci volumes: - mysqlvolume:/var/lib/mysql elasticsearch: image: elasticsearch:2.4 redis: image: redis:3 volumes: mysqlvolume: node_modules: bower_components: