Skip to content

Commit

Permalink
add bareos-fd client container rockstor#94
Browse files Browse the repository at this point in the history
The default config of our director container includes
an expectation of a local 'File' (Client) service:
used in a pre-configured Catalog backup task and what
looks like a buggy config backup setup.

Includes:
- prior omission to define BAREOS_SD_HOST in director container.
- incidental rationalising/reduction on user text.
  • Loading branch information
phillxnet committed Sep 11, 2024
1 parent 450cda2 commit c40f570
Showing 1 changed file with 65 additions and 18 deletions.
83 changes: 65 additions & 18 deletions bareos-server-set.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"BareOS-server-set": {
"description": "BareOS Director/Catalogue/Storage server set. A comprehensive network-based open-source backup and recovery solution for all major operating systems.<p>Based on custom docker images: <a href='https://hub.docker.com/u/barcus/' target='_blank'>https://hub.docker.com/u/barcus/</a>, available for amd64 and arm64 architecture.</p>",
"description": "BareOS Director/Catalog/Storage/File server set. A comprehensive network-based open-source backup and recovery solution for all major operating systems.<p>Based on custom docker images: <a href='https://hub.docker.com/u/barcus/' target='_blank'>https://hub.docker.com/u/barcus/</a>, available for amd64 and arm64 architecture.</p>",
"version": "0.0.1",
"website": "https://www.bareos.org/",
"container_links": {
Expand All @@ -16,6 +16,10 @@
{
"name": "bareos-director-to-webui",
"source_container": "bareos-webui"
},
{
"name": "bareos-director-to-file",
"source_container": "bareos-fd"
}
],
"bareos-webui": [
Expand All @@ -38,7 +42,7 @@
"launch_order": 1,
"volumes": {
"/var/lib/postgresql/data": {
"description": "BareOS 'Catalog' (Postgres DB) Share.",
"description": "'Catalog' storage (Postgres DB) Share.",
"label": "'Catalog' data [e.g. bareos-catalog]"
}
},
Expand All @@ -61,19 +65,23 @@
"launch_order": 2,
"volumes": {
"/etc/bareos": {
"description": "BareOS 'Director' configuration Share.",
"description": "'Director' configuration Share.",
"label": "'Director' config [e.g. bareos-dir-config]"
},
"/var/lib/bareos": {
"description": "BareOS Catalog-Backup Share",
"label": "Catalog-backup data [e.g. bareos-catalog-backup]"
"description": "'Director' data/state Share.",
"label": "'Director' data [e.g. bareos-dir-data]"
},
"/var/lib/bareos-director": {
"description": "'Catalog' backup Share",
"label": "Catalog-backup [must be bareos-catalog-backup]"
}
},
"ports": {
"9101": {
"description": "BareOS 'Director' communications port.",
"description": "'Director' communications port.",
"host_default": 9101,
"label": "Director port [must be 9101]",
"label": "'Director' port [must be 9101]",
"protocol": "tcp",
"ui": false
}
Expand All @@ -85,11 +93,15 @@
},
"DB_PASSWORD": {
"description": "Set password for the `bareos` DB user.",
"label": "Catalog `bareos` user password"
"label": "Catalog's `bareos` user password"
},
"BAREOS_SD_PASSWORD": {
"description": "Set BareOS Storage service password.",
"label": "BareOS Storage password"
"description": "Set 'Storage' service password.",
"label": "'Storage' password"
},
"BAREOS_FD_PASSWORD": {
"description": "Set Director's local 'File'/Client service (bareos-fd) password.",
"label": "Director's local 'File' password"
},
"BAREOS_WEBUI_PASSWORD": {
"description": "Set BareOS Web-UI 'admin' user password.",
Expand Down Expand Up @@ -121,6 +133,14 @@
"-e",
"DB_PORT=5432"
],
[
"-e",
"BAREOS_SD_HOST=bareos-storage"
],
[
"-e",
"BAREOS_FD_HOST=bareos-fd"
],
[
"-e",
"ADMIN_MAIL=root@localhost"
Expand All @@ -137,34 +157,61 @@
"launch_order": 3,
"volumes": {
"/etc/bareos": {
"description": "BareOS 'Storage' configuration Share.",
"description": "'Storage' service configuration Share.",
"label": "'Storage' config [e.g. bareos-storage-config]"
},
"/var/lib/bareos/storage": {
"description": "BareOS 'Storage' Share for all backups.",
"description": "'Storage' data Share for all backups.",
"label": "Backups data [e.g. bareos-backups]"
}
},
"ports": {
"9103": {
"description": "BareOS 'Storage' communications port.",
"description": "'Storage' communications port.",
"host_default": 9103,
"label": "Storage port [must be 9103]",
"label": "'Storage' port [must be 9103]",
"protocol": "tcp",
"ui": false
}
},
"environment": {
"BAREOS_SD_PASSWORD": {
"description": "Re-enter BareOS Storage service password.",
"label": "Re-enter BareOS Storage password"
"description": "Re-enter 'Storage' service password.",
"label": "Re-enter 'Storage' password"
}
}
},
"bareos-fd": {
"image": "barcus/bareos-client",
"tag": "latest",
"launch_order": 4,
"volumes": {
"/etc/bareos": {
"description": "Director's local 'File'/Client service configuration Share.",
"label": "Director's local 'File' config [e.g. bareos-file-config]"
}
},
"environment": {
"BAREOS_FD_PASSWORD": {
"description": "Re-enter Director's local 'File'/client service (bareos-fd) password.",
"label": "Re-enter Director's local 'File' password"
}
},
"opts": [
[
"-v",
"/mnt2/bareos-catalog-backup:/var/lib/bareos-director"
],
[
"-e",
"FORCE_ROOT=false"
]
]
},
"bareos-webui-php-fpm": {
"image": "barcus/php-fpm-alpine",
"tag": "latest",
"launch_order": 4,
"launch_order": 5,
"volumes": {
"/usr/share/bareos-webui": {
"description": "BareOS 'WebUI' data Share.",
Expand All @@ -185,7 +232,7 @@
"bareos-webui": {
"image": "barcus/bareos-webui",
"tag": "latest",
"launch_order": 5,
"launch_order": 6,
"ports": {
"9100": {
"description": "BareOS Web Interface.",
Expand Down

0 comments on commit c40f570

Please sign in to comment.