diff --git a/bareus/.env b/bareus/.env new file mode 100644 index 0000000..14138f2 --- /dev/null +++ b/bareus/.env @@ -0,0 +1,22 @@ +# Bareos DB user & password +DB_USER=bareos +DB_PASSWORD=ThisIsMySecretDBp4ssw0rd + +# DB Admin user & password (required to init new mysql/pgsql instance) +DB_ADMIN_USER=postgres +DB_ADMIN_PASSWORD=ThisIsMySecretDBAdm1np4ssw0rd + +# Bareos Storage Daemon +BAREOS_SD_PASSWORD=ThisIsMySecretSDp4ssw0rd + +# Bareos File Daemon (client) +BAREOS_FD_PASSWORD=ThisIsMySecretFDp4ssw0rd + +# Bareos WEBUI +BAREOS_WEBUI_PASSWORD=ThisIsMySecretUIp4ssw0rd + +# Bareos DB migration only (MySQL to PostgreSQL) +MYSQL_DB_PASSWORD=ThisIsMySecretDBp4ssw0rd +PGSQL_DB_PASSWORD=ThisIsMySecretDBp4ssw0rd +MYSQL_ADMIN_PASSWORD=ThisIsMySecretDBAdm1np4ssw0rd +PGSQL_ADMIN_PASSWORD=ThisIsMySecretDBAdm1np4ssw0rd diff --git a/docker-compose-urbackup.yml b/docker-compose-urbackup.yml new file mode 100644 index 0000000..14df72e --- /dev/null +++ b/docker-compose-urbackup.yml @@ -0,0 +1,23 @@ +version: '2' + +services: + urbackup: + image: uroni/urbackup-server:2.5.x + container_name: urbackup + restart: unless-stopped + environment: + - PUID=1000 # Enter the UID of the user who should own the files here + - PGID=100 # Enter the GID of the user who should own the files here + - TZ=Europe/Berlin # Enter your timezone + volumes: + - /mnt/backup/urbackup/database:/var/urbackup + - /mnt/backup/urbackup/backup:/backups + # Uncomment the next line if you want to bind-mount the www-folder + #- /path/to/wwwfolder:/usr/share/urbackup + network_mode: "host" + # Uncomment the following two lines if you're using BTRFS support + #cap_add: + # - SYS_ADMIN + # Uncomment the following two lines if you're using ZFS support + #devices: + # - /dev/zfs:/dev/zfs