services: roundcube: image: roundcube/roundcubemail:1.6.9-apache container_name: ${CONTAINER_NAME} restart: always environment: ROUNDCUBE_DB_TYPE: mysql ROUNDCUBE_DB_HOST: ${PANEL_DB_HOST} ROUNDCUBE_DB_USER: ${PANEL_DB_USER} ROUNDCUBE_DB_PASSWORD: ${PANEL_DB_USER_PASSWORD} ROUNDCUBE_DB_NAME: ${PANEL_DB_NAME} ROUNDCUBEMAIL_DEFAULT_HOST: ${IMAP_SERVER} ROUNDCUBEMAIL_DEFAULT_PORT: ${IMAP_SERVER_PORT} ROUNDCUBEMAIL_SMTP_SERVER: ${SMTP_SERVER} ROUNDCUBEMAIL_SMTP_PORT: ${SMTP_SERVER_PORT} ROUNDCUBEMAIL_UPLOAD_MAX_FILESIZE: 5M ports: - ${PANEL_APP_PORT_HTTP}:80 volumes: - ./logs:/var/log/apache2 - ./data:/var/www/html networks: - 1panel-network labels: createdBy: "Apps" networks: 1panel-network: external: true