version: "3.4" services: mailserver: image: djfarrelly/maildev ports: - 1080:80 networks: - hc-network webapp: image: schoolsinmotion/webapp:build-and-test build: context: webapp target: build-and-test volumes: - ./webapp:/webapp environment: - "APPLICATION_NAME={$APPLICATION_NAME:-'Human Connection'}" - NUXT_BUILD=/tmp/nuxt # avoid file permission issues when `rm -rf .nuxt/` - PUBLIC_REGISTRATION=true command: yarn run dev backend: image: schoolsinmotion/backend:build-and-test build: context: backend target: build-and-test volumes: - ./backend:/backend command: yarn run dev environment: - "APPLICATION_NAME={$APPLICATION_NAME:-'Human Connection'}" - SMTP_HOST=mailserver - SMTP_PORT=25 - SMTP_IGNORE_TLS=true - "DEBUG=${DEBUG}" - PUBLIC_REGISTRATION=true maintenance: image: schoolsinmotion/maintenance:latest build: context: webapp dockerfile: Dockerfile.maintenance networks: - hc-network ports: - 3503:80 networks: hc-network: