diff --git a/docker-compose.yml b/docker-compose.yml index de5e601..9cdf5a1 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,12 +1,14 @@ version: '3' services: borgwarehouse: - # UID:GID must match the user and group ID of the host folders and must be >= 1001 + container_name: borgwarehouse + # If you want to build the image yourself, uncomment the following lines and comment the image line + #build: + # context: . + # dockerfile: Dockerfile + image: borgwarehouse/borgwarehouse + # UID:GID must match the user and group ID of the host folders and must be > 1000 user: '1001:1001' - build: - context: . - dockerfile: Dockerfile - image: borgwarehouse ports: - '3000:3000' - '2222:22' @@ -23,4 +25,8 @@ services: - /ssh:/home/borgwarehouse/.ssh - /ssh_host:/etc/ssh - /repos:/home/borgwarehouse/repos - container_name: borgwarehouse + # 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'