|
| 1 | +# Test server configuration for caldav tests |
| 2 | +# |
| 3 | +# Copy this file to caldav_test_servers.yaml and customize for your setup. |
| 4 | +# See tests/README.md for documentation. |
| 5 | +# |
| 6 | +# Environment variables can be used with ${VAR} or ${VAR:-default} syntax. |
| 7 | + |
| 8 | +test-servers: |
| 9 | + # ========================================================================= |
| 10 | + # Embedded servers (run in-process, no external setup required) |
| 11 | + # ========================================================================= |
| 12 | + |
| 13 | + radicale: |
| 14 | + type: embedded |
| 15 | + enabled: true |
| 16 | + host: ${RADICALE_HOST:-localhost} |
| 17 | + port: ${RADICALE_PORT:-5232} |
| 18 | + username: user1 |
| 19 | + password: "" |
| 20 | + |
| 21 | + xandikos: |
| 22 | + type: embedded |
| 23 | + enabled: true |
| 24 | + host: ${XANDIKOS_HOST:-localhost} |
| 25 | + port: ${XANDIKOS_PORT:-8993} |
| 26 | + username: sometestuser |
| 27 | + password: "" |
| 28 | + |
| 29 | + # ========================================================================= |
| 30 | + # Docker servers (require docker-compose, see docker-test-servers/) |
| 31 | + # ========================================================================= |
| 32 | + # |
| 33 | + # Set enabled to: |
| 34 | + # - true: always enable |
| 35 | + # - false: always disable |
| 36 | + # - "auto": enable if docker is available (default for docker servers) |
| 37 | + |
| 38 | + baikal: |
| 39 | + type: docker |
| 40 | + enabled: ${TEST_BAIKAL:-auto} |
| 41 | + host: ${BAIKAL_HOST:-localhost} |
| 42 | + port: ${BAIKAL_PORT:-8800} |
| 43 | + username: ${BAIKAL_USERNAME:-testuser} |
| 44 | + password: ${BAIKAL_PASSWORD:-testpass} |
| 45 | + # Path within the CalDAV server |
| 46 | + # path: /dav.php |
| 47 | + |
| 48 | + nextcloud: |
| 49 | + type: docker |
| 50 | + enabled: ${TEST_NEXTCLOUD:-false} |
| 51 | + host: ${NEXTCLOUD_HOST:-localhost} |
| 52 | + port: ${NEXTCLOUD_PORT:-8801} |
| 53 | + username: ${NEXTCLOUD_USERNAME:-testuser} |
| 54 | + password: ${NEXTCLOUD_PASSWORD:-testpass} |
| 55 | + |
| 56 | + cyrus: |
| 57 | + type: docker |
| 58 | + enabled: ${TEST_CYRUS:-false} |
| 59 | + host: ${CYRUS_HOST:-localhost} |
| 60 | + port: ${CYRUS_PORT:-8802} |
| 61 | + username: ${CYRUS_USERNAME:-testuser@test.local} |
| 62 | + password: ${CYRUS_PASSWORD:-testpassword} |
| 63 | + |
| 64 | + sogo: |
| 65 | + type: docker |
| 66 | + enabled: ${TEST_SOGO:-false} |
| 67 | + host: ${SOGO_HOST:-localhost} |
| 68 | + port: ${SOGO_PORT:-8803} |
| 69 | + username: ${SOGO_USERNAME:-testuser} |
| 70 | + password: ${SOGO_PASSWORD:-testpassword} |
| 71 | + |
| 72 | + bedework: |
| 73 | + type: docker |
| 74 | + enabled: ${TEST_BEDEWORK:-false} |
| 75 | + host: ${BEDEWORK_HOST:-localhost} |
| 76 | + port: ${BEDEWORK_PORT:-8804} |
| 77 | + username: ${BEDEWORK_USERNAME:-admin} |
| 78 | + password: ${BEDEWORK_PASSWORD:-bedework} |
| 79 | + |
| 80 | + davical: |
| 81 | + type: docker |
| 82 | + enabled: ${TEST_DAVICAL:-false} |
| 83 | + host: ${DAVICAL_HOST:-localhost} |
| 84 | + port: ${DAVICAL_PORT:-8805} |
| 85 | + username: ${DAVICAL_USERNAME:-testuser} |
| 86 | + password: ${DAVICAL_PASSWORD:-testpass} |
| 87 | + |
| 88 | + davis: |
| 89 | + type: docker |
| 90 | + enabled: ${TEST_DAVIS:-false} |
| 91 | + host: ${DAVIS_HOST:-localhost} |
| 92 | + port: ${DAVIS_PORT:-8806} |
| 93 | + username: ${DAVIS_USERNAME:-testuser} |
| 94 | + password: ${DAVIS_PASSWORD:-testpass} |
| 95 | + |
| 96 | + ccs: |
| 97 | + type: docker |
| 98 | + enabled: ${TEST_CCS:-false} |
| 99 | + host: ${CCS_HOST:-localhost} |
| 100 | + port: ${CCS_PORT:-8807} |
| 101 | + username: ${CCS_USERNAME:-user01} |
| 102 | + password: ${CCS_PASSWORD:-user01} |
| 103 | + |
| 104 | + zimbra: |
| 105 | + type: docker |
| 106 | + enabled: ${TEST_ZIMBRA:-false} |
| 107 | + host: ${ZIMBRA_HOST:-zimbra-docker.zimbra.io} |
| 108 | + port: ${ZIMBRA_PORT:-8808} |
| 109 | + username: ${ZIMBRA_USERNAME:-testuser@zimbra.io} |
| 110 | + password: ${ZIMBRA_PASSWORD:-testpass} |
| 111 | + |
| 112 | + # ========================================================================= |
| 113 | + # External/private servers (your own CalDAV server) |
| 114 | + # ========================================================================= |
| 115 | + # |
| 116 | + # Uncomment and configure to test against your own server: |
| 117 | + |
| 118 | + # my-server: |
| 119 | + # type: external |
| 120 | + # enabled: true |
| 121 | + # url: ${CALDAV_URL:-https://caldav.example.com/dav/} |
| 122 | + # username: ${CALDAV_USERNAME} |
| 123 | + # password: ${CALDAV_PASSWORD} |
| 124 | + # # Optional: SSL verification (default: true) |
| 125 | + # ssl_verify: true |
| 126 | + # # Optional: specify server limitations/features |
| 127 | + # features: |
| 128 | + # - no-expand # Server doesn't support EXPAND |
| 129 | + # - no-sync-token # Server doesn't support sync tokens |
| 130 | + # - no-freebusy # Server doesn't support freebusy queries |
| 131 | + |
| 132 | +# ========================================================================= |
| 133 | +# RFC6638 scheduling test users (optional) |
| 134 | +# ========================================================================= |
| 135 | +# |
| 136 | +# For testing calendar scheduling (meeting invites, etc.), define |
| 137 | +# multiple users that can send invites to each other: |
| 138 | + |
| 139 | +# rfc6638_users: |
| 140 | +# - url: https://caldav.example.com/dav/user1/ |
| 141 | +# username: user1 |
| 142 | +# password: pass1 |
| 143 | +# - url: https://caldav.example.com/dav/user2/ |
| 144 | +# username: user2 |
| 145 | +# password: pass2 |
0 commit comments