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 | 9db9737bc653379260164d616903fcd4ed400eb5 (patch) | |
tree | 112a172a3ab0d894849bf2fd825e2f46a756428b /template/docker-compose.yaml.template | |
parent | 14cd327698c01b07f8e44ee620dc26132057f052 (diff) | |
download | crupest-9db9737bc653379260164d616903fcd4ed400eb5.tar.gz crupest-9db9737bc653379260164d616903fcd4ed400eb5.tar.bz2 crupest-9db9737bc653379260164d616903fcd4ed400eb5.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 |