We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 78591a7 commit 25264d1Copy full SHA for 25264d1
1 file changed
README.md
@@ -48,7 +48,22 @@ docker run --name zmail \
48
-p 3001:3001 \
49
-v /srv/zmail/config:/config:ro \
50
-v /srv/zmail/data:/data \
51
- ghcr.io/OWNER/REPO:latest
+ ghcr.io/txchen/zmail:latest
52
+```
53
+
54
+Equivalent `docker-compose.yml`:
55
56
+```yaml
57
+services:
58
+ zmail:
59
+ image: ghcr.io/txchen/zmail:latest
60
+ container_name: zmail
61
+ restart: unless-stopped
62
+ ports:
63
+ - "3001:3001"
64
+ volumes:
65
+ - /srv/zmail/config:/config:ro
66
+ - /srv/zmail/data:/data
67
```
68
69
Set `[storage] database_dir = "/data"` in `/srv/zmail/config/zmail.toml`. The image defaults to
0 commit comments