Add NAS specific docker compose template (#1181)

This commit is contained in:
Leendert de Borst
2025-09-09 15:39:44 +02:00
parent c6906c8caf
commit 3a287ebc77
2 changed files with 40 additions and 0 deletions

View File

@@ -0,0 +1,35 @@
# Docker Compose file for the AliasVault all-in-one container
#
# Specific for NAS devices:
# - Uses custom HTTP ports by default to avoid conflicts
# - Uses named bind mounts for the database, logs and secrets to ensure they are persisted
#
version: "3"
services:
aliasvault:
image: ghcr.io/aliasvault/aliasvault:latest
container_name: aliasvault
restart: unless-stopped
ports:
- "1080:80"
- "1443:443"
- "25:25"
- "587:587"
volumes:
- avdata:/database
- avlogs:/logs
- avsecrets:/secrets
environment:
PUBLIC_REGISTRATION_ENABLED: "true"
IP_LOGGING_ENABLED: "true"
FORCE_HTTPS_REDIRECT: "false"
SUPPORT_EMAIL: ""
PRIVATE_EMAIL_DOMAINS: ""
volumes:
avdata:
avlogs:
avsecrets:

View File

@@ -1,3 +1,8 @@
# Docker Compose file for the AliasVault all-in-one container
#
# This is the general purpose template which uses local folder bind mounts for the database, logs and secrets.
# - For NAS devices, its safer to use the docker-compose.all-in-one.nas.yml template instead.
#
services:
aliasvault:
image: ghcr.io/aliasvault/aliasvault:latest