diff options
| author | crupest <crupest@outlook.com> | 2024-11-04 00:05:05 +0800 | 
|---|---|---|
| committer | crupest <crupest@outlook.com> | 2024-11-04 00:05:05 +0800 | 
| commit | 60a3dbaf70647ed4ad005c14138f37cf1ad71aca (patch) | |
| tree | 112a172a3ab0d894849bf2fd825e2f46a756428b /template/docker-compose.yaml.template | |
| parent | 402a00d089599554dd2ee355009a9796171dd822 (diff) | |
| download | crupest-60a3dbaf70647ed4ad005c14138f37cf1ad71aca.tar.gz crupest-60a3dbaf70647ed4ad005c14138f37cf1ad71aca.tar.bz2 crupest-60a3dbaf70647ed4ad005c14138f37cf1ad71aca.zip  | |
feat(service): add roundcubemail.
Diffstat (limited to 'template/docker-compose.yaml.template')
| -rw-r--r-- | template/docker-compose.yaml.template | 21 | 
1 files changed, 21 insertions, 0 deletions
diff --git a/template/docker-compose.yaml.template b/template/docker-compose.yaml.template index 48921bb..6dbc2b9 100644 --- a/template/docker-compose.yaml.template +++ b/template/docker-compose.yaml.template @@ -42,6 +42,7 @@ services:        - "./data/certbot/certs:/etc/letsencrypt:ro"        - "./data/certbot/webroot:/srv/acme:ro"        - "blog-public:/srv/blog:ro" +      - "roundcubemail-www:/srv/roundcubemail:ro"    crupest-api:      pull_policy: build @@ -176,6 +177,26 @@ services:        - /etc/timezone:/etc/timezone:ro        - /etc/localtime:/etc/localtime:ro +  roundcubemail: +    image: roundcube/roundcubemail:latest +    container_name: roundcubemail +    restart: on-failure:3 +    volumes: +      - roundcubemail-www:/var/www/html +      - ./data/roundcube/config:/var/roundcube/config +      - ./data/roundcube/db:/var/roundcube/db +      - rountcubemail-temp:/tmp/roundcube-temp +    ports: +      - 9002:80 +    environment: +      - ROUNDCUBEMAIL_DEFAULT_HOST=ssl://mail.crupest.life +      - ROUNDCUBEMAIL_DEFAULT_PORT=993 +      - ROUNDCUBEMAIL_SMTP_SERVER=ssl://mail.crupest.life +      - ROUNDCUBEMAIL_SMTP_PORT=465 +      - ROUNDCUBEMAIL_DB_TYPE=sqlite +  volumes:    blog-public:    debian-dev-home: +  roundcubemail-www: +  rountcubemail-temp:
\ No newline at end of file  | 
