Skip to content

Commit 71185fc

Browse files
committed
Add backrest
1 parent b457e6d commit 71185fc

17 files changed

+99
-0
lines changed

compose/.apps/backrest/.env

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
BACKREST<__INSTANCE>__ENABLED='false'
2+
BACKREST<__INSTANCE>__CONTAINER_NAME='backrest<__instance>'
3+
BACKREST<__INSTANCE>__HOSTNAME='Backrest<__Instance>'
4+
BACKREST<__INSTANCE>__NETWORK_MODE=''
5+
BACKREST<__INSTANCE>__PORT_8989='8989'
6+
BACKREST<__INSTANCE>__RESTART='unless-stopped'
7+
BACKREST<__INSTANCE>__STORAGE_ON='' # Blank uses DOCKER_STORAGE_ON value. Set to YES/NO to override
8+
BACKREST<__INSTANCE>__STORAGE2_ON='' # Blank uses DOCKER_STORAGE2_ON value. Set to YES/NO to override
9+
BACKREST<__INSTANCE>__STORAGE3_ON='' # Blank uses DOCKER_STORAGE3_ON value. Set to YES/NO to override
10+
BACKREST<__INSTANCE>__STORAGE4_ON='' # Blank uses DOCKER_STORAGE4_ON value. Set to YES/NO to override
11+
BACKREST<__INSTANCE>__TAG='latest'
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
services:
2+
backrest<__instance>:
3+
image: garethgeorge/backrest:${BACKREST__TAG?}
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
${DOCKER_VOLUME_CONFIG}/backrest<__instance>
2+
${DOCKER_VOLUME_CONFIG}/backrest<__instance>/cache
3+
${DOCKER_VOLUME_CONFIG}/backrest<__instance>/config
4+
${DOCKER_VOLUME_CONFIG}/backrest<__instance>/data
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
services:
2+
backrest<__instance>:
3+
hostname: ${BACKREST<__INSTANCE>__HOSTNAME?}
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
services:
2+
backrest<__instance>:
3+
labels:
4+
com.dockstarter.appinfo.deprecated: "false"
5+
com.dockstarter.appinfo.description: "Backrest is a web-accessible backup solution built on top of restic."
6+
com.dockstarter.appinfo.nicename: "Backrest<__Instance>"
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
###
2+
### BACKREST<__INSTANCE> - .env
3+
###
4+
BACKREST<__INSTANCE>__CONTAINER_NAME BACKREST<__INSTANCE>_CONTAINER_NAME
5+
BACKREST<__INSTANCE>__ENABLED BACKREST<__INSTANCE>_ENABLED
6+
BACKREST<__INSTANCE>__NETWORK_MODE BACKREST<__INSTANCE>_NETWORK_MODE
7+
BACKREST<__INSTANCE>__PORT_9898 BACKREST<__INSTANCE>_PORT_9898
8+
BACKREST<__INSTANCE>__RESTART BACKREST<__INSTANCE>_RESTART
9+
BACKREST<__INSTANCE>__TAG BACKREST<__INSTANCE>_TAG
10+
###
11+
### BACKREST<__INSTANCE> - .env.app.backrest<__instance>:
12+
###
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
services:
2+
backrest<__instance>:
3+
network_mode: ${BACKREST<__INSTANCE>__NETWORK_MODE?}
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
services:
2+
backrest<__instance>:
3+
ports:
4+
- ${BACKREST<__INSTANCE>9898?}:9898
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
services:
2+
backrest<__instance>:
3+
volumes:
4+
- ${DOCKER_VOLUME_STORAGE?}:/storage

0 commit comments

Comments
 (0)