version: '3.7' services: application: environment: - APP_ENV=dev volumes: - ${APPLICATION_CODE_PATH_HOST?}:${APPLICATION_CODE_PATH_CONTAINER?} php-cron: environment: - PHP_IDE_CONFIG=${PHP_IDE_CONFIG?} - APP_ENV=dev networks: - network cap_add: - "SYS_PTRACE" security_opt: - "seccomp=unconfined" extra_hosts: - host.docker.internal:host-gateway volumes: - ${APP_CODE_PATH_HOST?}:${APP_CODE_PATH_CONTAINER?} web: environment: - APP_ENV=dev ports: - "${NGINX_HOST_HTTP_PORT:-80}:80" - "${NGINX_HOST_HTTPS_PORT:-443}:443" volumes: - ${APP_CODE_PATH_HOST?}:${APP_CODE_PATH_CONTAINER?} php-fpm: environment: - APP_ENV=dev ports: - "${APPLICATION_SSH_HOST_PORT:-2222}:22" - "${APPLICATION_PANTHER_HOST_PORT:-9001}:9001" volumes: - ${APP_CODE_PATH_HOST?}:${APP_CODE_PATH_CONTAINER?} chrome: ports: - "7900:7900" - "4444:4444" smtp4dev: ports: # Change the number before : to the port the web interface should be accessible on - '5000:80' # Change the number before : to the port the SMTP server should be accessible on - '25:25' # Change the number before : to the port the IMAP server should be accessible on - '143:143' webhook: ports: # Change the number before : to the port the IMAP server should be accessible on - '5002:8080' mongodb: ports: - "127.0.0.1:27017:27017" mysql: ports: - "127.0.0.1:3306:3306"