funnyzak/vcards
导入常用联系人头像,优化 iOS 来电、信息界面体验。更多信息请访问 vCards。
You can pull the images using the following commands:
docker pull funnyzak/vcards:latest
# GHCR
docker pull ghcr.io/funnyzak/vcards:latest
# Aliyun
docker pull registry.cn-beijing.aliyuncs.com/funnyzak/vcards:latest
SYNC_CRON
: Sync schedule, default is not set. For example, 0 0 * * *
means sync every day at 00:00. You can use CronTab to generate the schedule./app/downloads
: New data will be downloaded to this folder./app/vcards/collection-root/cn/
: The cn
folder of the contacts.Use the default contacts data, and map to local 5232 port.
docker run -d --name vcard \
-p 5232:5232 \
funnyzak/vcards:latest
Use custom contacts data, and map to local 5232 port.
docker run -d --name vcard \
-p 5232:5232 \
-v ./vcards:/app/vcards/collection-root/cn/ \
funnyzak/vcards:latest
Sync every day at 00:00, and download new data to ./downloads
folder.
docker run -d --name vcard \
-p 5232:5232 \
-e SYNC_CRON="0 0 * * *" \
-v ./downloads:/app/downloads \
funnyzak/vcards:latest
Sync every day at 00:00, and download new data to ./downloads
folder, and add custom contacts data to vcards
folder.
docker run -d --name vcard \
-p 5232:5232 \
-e SYNC_CRON="0 0 * * *" \
-v ./downloads:/app/downloads \
-v ./vcards:/app/vcards/collection-root/cn/ \
funnyzak/vcards:latest
Note: You must download the contacts data from vCards and put it in the vcards
folder.
version: '3.7'
services:
vcard:
image: funnyzak/vcards:latest
container_name: vcard
ports:
- 5232:5232
environment:
- SYNC_CRON=0 0 * * *
volumes:
- ./downloads:/app/downloads
Deploy the vCards service, and add the following information to the CardDAV account:
vcards.youdeployed.com
cn
cn
or whatever you wantSteps:
Settings
- Contacts
- Accounts
- Add Account
- Other
- Add CardDAV Account
.Contacts
- Settings
- Accounts
- Other Contacts Accounts
.When syncing is complete, you can see the contacts in the Contacts app.
More information can be found at vCards.
docker pull funnyzak/vcards