2023-11-07 11:15:31 +08:00
|
|
|
version: '3'
|
|
|
|
services:
|
|
|
|
roundcube:
|
2024-01-29 15:01:09 +08:00
|
|
|
image: roundcube/roundcubemail:1.6.6-apache
|
2023-11-07 11:15:31 +08:00
|
|
|
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
|