-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
51 lines (46 loc) · 1.71 KB
/
docker-compose.yaml
File metadata and controls
51 lines (46 loc) · 1.71 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
services:
davmail:
image: ${IMAGE_NAME:-kran0/davmail-docker:latest}
volumes:
- davmail-config:/davmail-config # To save persistent conf data
# build:
# context: .
# dockerfile: Dockerfile
# args:
# - BASE_IMAGE=docker.io/library/eclipse-temurin:21-jre-alpine
# - BUILD_IMAGE=docker.io/library/eclipse-temurin:21-jdk-alpine
# The env setting documentation: http://davmail.sourceforge.net/serversetup.html
# Vars captions are the same, but the names must be provided in BASH_FORMAT
# E.g. in UPPERCASE and with "_" instead of the dots as WORD_DELIMITER
# Please watch more examples in tests/compose-sut.yaml
environment:
- DAVMAIL_SERVER=true
- DAVMAIL_ALLOWREMOTE=true
- DAVMAIL_DISABLEUPDATECHECK=true
- DAVMAIL_LOGFILEPATH=/dev/stdout
- DAVMAIL_CALDAVPORT=1080
- DAVMAIL_IMAPPORT=1143
- DAVMAIL_LDAPPORT=1389
- DAVMAIL_POPPORT=1110
- DAVMAIL_SMTPPORT=1025
- JAVA_OPTS=-Xmx512M -Dsun.net.inetaddr.ttl=30
# - DISABLE_DAVMAIL_PROPERTIES_PERSISTENCE=true
# ADDITIONAL_PROPERTY_VALUES example usage # TODO: move this example to tests/compose-sut.yaml
# the example is based on
# https://github.com/mguessan/davmail/issues/321#issuecomment-1867072418
# and https://github.com/kran0/davmail-docker/pull/7
# Add any properties based on DavMail docs: https://davmail.sourceforge.net/serversetup.html
# - ADDITIONAL_PROPERTY_VALUES=
#
# davmail.oauth.clientId=d3590ed6-52b3-4102-aeff-aad2292ab01c
#
# davmail.oauth.redirectUri=urn:ietf:wg:oauth:2.0:oob
ports:
- 1080:1080
- 1143:1143
- 1389:1389
- 1110:1110
- 1025:1025
restart: on-failure
volumes:
davmail-config: