38 lines
1.3 KiB
Bash
38 lines
1.3 KiB
Bash
# Borg Backup Server — Docker Configuration
|
|
#
|
|
# Copy this file to .env and edit the values below.
|
|
# docker-compose reads .env automatically.
|
|
|
|
# Public URL — how browsers and agents reach BBS (use your server's IP or hostname)
|
|
APP_URL=http://YOUR_SERVER_IP:8080
|
|
|
|
# Web UI port (host side)
|
|
WEB_PORT=8080
|
|
|
|
# SSH port for borg agent connections (host side)
|
|
SSH_PORT=2222
|
|
|
|
# Map the app user (www-data) to your host user's UID/GID. Required when using
|
|
# bind mounts to avoid permission issues — especially on btrfs filesystems
|
|
# (e.g. Synology NAS) or when you want to read backup repositories directly
|
|
# from the host.
|
|
#
|
|
# Find your values with: id -u && id -g
|
|
# Defaults to 33 (www-data) if not set.
|
|
#
|
|
# Changing these after the first run triggers an automatic ownership migration
|
|
# on the data volume (one-time chown, can take minutes on large repositories).
|
|
# PUID=1000
|
|
# PGID=1000
|
|
|
|
# Advanced: remap MariaDB (default 100) or ClickHouse (default 999) too. Only
|
|
# needed if the host user wants to manage every file under the data volume
|
|
# without root. Must not collide with PUID/PGID or any existing SSH client UID.
|
|
# MYSQL_PUID=1001
|
|
# MYSQL_PGID=1001
|
|
# CH_PUID=1002
|
|
# CH_PGID=1002
|
|
|
|
# Admin password — only used on first run. Remove or leave blank to auto-generate.
|
|
# ADMIN_PASS=changeme
|