mirror of
https://github.com/QYG2297248353/appstore-1panel.git
synced 2024-11-13 18:51:58 +08:00
29 lines
855 B
YAML
29 lines
855 B
YAML
|
version: '3'
|
||
|
services:
|
||
|
roundcube:
|
||
|
image: roundcube/roundcubemail:1.6.5-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
|