websoft9/docker/w9kopia/docker-compose.yml
2023-06-03 10:18:41 +08:00

40 lines
864 B
YAML

# image: https://hub.docker.com/r/kopia
version: "3.8"
services:
kopia:
image: kopia/kopia:$APP_VERSION
hostname: Hostname
container_name: $APP_NAME
restart: unless-stopped
# Setup the server that provides the web gui
ports:
- $APP_HTTP_PORT:51515
command:
- server
- start
- --disable-csrf-token-checks
- --insecure
- --address=0.0.0.0:$APP_HTTP_PORT
- --server-username=$APP_USER
- --server-password=$APP_PASSWORD
volumes:
- kopia_config:/app/config
- kopia_cache:/app/cache
- kopia_logs:/app/logs
- kopia_data:/data:ro
- kopia_repository:/repository
- kopia_tmp:/tmp:shared
volumes:
kopia_config:
kopia_cache:
kopia_logs:
kopia_data:
kopia_repository:
kopia_tmp:
networks:
default:
name: ${APP_NETWORK}
external: true