Skip to content

Commit

Permalink
chore: Add kopia configuration and docker-compose files
Browse files Browse the repository at this point in the history
  • Loading branch information
dragonfire1119 committed May 7, 2024
1 parent fe7a262 commit fedc4ea
Show file tree
Hide file tree
Showing 2 changed files with 111 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Apps/kopia/config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"id": "kopia",
"version": "v0.17.0-spad3",
"image": "ghcr.io/thespad/kopia-server",
"youtube": "",
"docs_link": "",
"big_bear_cosmos_youtube": ""
}
103 changes: 103 additions & 0 deletions Apps/kopia/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,103 @@
# Configuration for kopia setup

# Name of the big-bear-kopia application
name: big-bear-kopia

# Service definitions for the big-bear-kopia application
services:
# Service name: big-bear-kopia
# The `big-bear-kopia` service definition
big-bear-kopia:
# Name of the container
container_name: big-bear-kopia

# Image to be used for the container
image: ghcr.io/thespad/kopia-server:v0.17.0-spad3

# Container restart policy
restart: unless-stopped

# Environment variables for the container
environment:
- PUID=0
- PGID=0
- TZ=UTC
- KOPIA_HTTPS=true # Optional
- KOPIA_UI_USERNAME=casaos
- KOPIA_UI_PASSWORD=casaos
- KOPIA_PASSWORD=casaos # Repository password
- REFRESH_INTERVAL= # Optional

volumes:
- /DATA/AppData/$AppID/config:/config
- /DATA/AppData/$AppID/home:/backups/home:ro # Optional
- /var/lib/docker/volumes:/backups/docker:ro # Optional
- /DATA/AppData/$AppID/repository:/repository # Optional
- /tmp:/tmp:shared # Optional
- /var/run/docker.sock:/var/run/docker.sock:ro # Optional

# Ports mapping between host and container
ports:
# Mapping port 51515 of the host to port 51515 of the container
- "51515:51515"

# Additional capabilities to be added to the container
cap_add:
- SYS_ADMIN # Optional

x-casaos: # CasaOS specific configuration
volumes:
- container: /config
description:
en_us: "Container Path: /config"
- container: /backups/home
description:
en_us: "Container Path: /backups/home"
- container: /backups/docker
description:
en_us: "Container Path: /backups/docker"
- container: /repository
description:
en_us: "Container Path: /repository"
- container: /tmp
description:
en_us: "Container Path: /tmp"
- container: /var/run/docker.sock
description:
en_us: "Container Path: /var/run/docker.sock"
ports:
- container: "51515"
description:
en_us: "Container Port: 51515"

# CasaOS specific configuration
x-casaos:
# Supported CPU architectures for the application
architectures:
- amd64
- arm64
# Main service of the application
main: big-bear-kopia
description:
# Description in English
en_us: Kopia is a fast and secure open-source backup/restore tool that allows you to create encrypted snapshots of your data and save the snapshots to remote or cloud storage of your choice, to network-attached storage or server, or locally on your machine.
tagline:
# Short description or tagline in English
en_us: Kopia
# Developer's name or identifier
developer: "thespad"
# Author of this configuration
author: BigBearTechWorld
# Icon for the application
icon: https://github.com/walkxcode/dashboard-icons/blob/main/png/kopia.png?raw=true
# Thumbnail image (currently empty)
thumbnail: ""
title:
# Title in English
en_us: Kopia
# Application category
category: BigBearCasaOS
# Port mapping information
port_map: "51515"
# Scheme used (https)
scheme: https

0 comments on commit fedc4ea

Please sign in to comment.