@grum I haven’t come across one yet, but as long as you have your volumes backed up and you make sure to uncheck the “delete” option, you should be safe when redeploying the container.
You could take the docker-compose.yml and edit it with my script:
# Configuration for big-bear-immich setup
name: big-bear-immich
# Service definitions for the big-bear-immich application
services:
# Main Immich Server service configuration
immich-server:
container_name: immich-server # Name of the running container
image: ghcr.io/immich-app/immich-server:v1.91.4 # Image to be used
command: ["start.sh", "immich"] # Command to be executed upon container start
ports: # Mapping ports from the host OS to the container
- 2283:3001
volumes: # Mounting directories for persistent data storage
- /DATA/AppData/$AppID/upload:/usr/src/app/upload
environment: # Setting environment variables
DB_HOSTNAME: immich-postgres
DB_USERNAME: casaos
DB_PASSWORD: casaos
DB_DATABASE_NAME: immich
DB_PORT: 5432
This file has been truncated. show original
Occasionally, the CasaOS container settings UI may not grant us the flexibility to modify configurations as we desire. To address this challenge, we’ve developed a script that simplifies the process:
bash -c "$(wget -qLO - https://raw.githubusercontent.com/bigbeartechworld/big-bear-scripts/master/edit-casaos-apps/run.sh)"
This script allows you to choose your desired application and select your preferred text editor, currently supporting Nano and Vim.
How does it work
It’s a Bash script desi…