2023-10-01 22:06:42 +02:00
|
|
|
|
version: '3'
|
|
|
|
|
services:
|
|
|
|
|
borgwarehouse:
|
2023-10-08 18:41:13 +02:00
|
|
|
|
container_name: borgwarehouse
|
|
|
|
|
# If you want to build the image yourself, uncomment the following lines and comment the image line
|
|
|
|
|
#build:
|
|
|
|
|
# context: .
|
|
|
|
|
# dockerfile: Dockerfile
|
2024-01-01 13:07:19 +01:00
|
|
|
|
# args:
|
|
|
|
|
# - UID=${UID}
|
|
|
|
|
# - GID=${GID}
|
2023-10-08 18:41:13 +02:00
|
|
|
|
image: borgwarehouse/borgwarehouse
|
2024-01-01 13:07:19 +01:00
|
|
|
|
user: '${UID:?UID variable missing}:${GID:?GID variable missing}'
|
2023-10-01 22:06:42 +02:00
|
|
|
|
ports:
|
2024-01-01 13:07:19 +01:00
|
|
|
|
- '${WEB_SERVER_PORT:?WEB_SERVER_PORT variable missing}:3000'
|
|
|
|
|
- '${SSH_SERVER_PORT:?SSH_SERVER_PORT variable missing}:22'
|
2023-12-05 21:02:26 +01:00
|
|
|
|
env_file:
|
|
|
|
|
- .env
|
2023-10-01 22:06:42 +02:00
|
|
|
|
volumes:
|
2023-11-03 18:23:41 +01:00
|
|
|
|
- ${CONFIG_PATH:?CONFIG_PATH variable missing}:/home/borgwarehouse/app/config
|
|
|
|
|
- ${SSH_PATH:?SSH_PATH variable missing}:/home/borgwarehouse/.ssh
|
|
|
|
|
- ${SSH_HOST:?SSH_HOST variable missing}:/etc/ssh
|
|
|
|
|
- ${BORG_REPOSITORY_PATH:?BORG_REPOSITORY_PATH variable missing}:/home/borgwarehouse/repos
|
2023-12-30 18:19:05 +01:00
|
|
|
|
- ${TMP_PATH:?TMP_PATH variable missing}:/home/borgwarehouse/tmp
|
|
|
|
|
- ${LOGS_PATH:?LOGS_PATH variable missing}:/home/borgwarehouse/logs
|
2023-10-08 18:41:13 +02:00
|
|
|
|
# Apprise is used to send notifications, it's optional. http://apprise:8000 is the URL to use in BorgWarehouse.
|
|
|
|
|
apprise:
|
|
|
|
|
container_name: apprise
|
|
|
|
|
image: caronc/apprise
|
|
|
|
|
user: 'www-data:www-data'
|