Thinking about migrating from prox mox LXC to Docker container
With the recent issues with PVE installer scripts(I was able to successfully update to lates) i want to potentially move my container to docker compose ... but i am not exactly sure what i would need to back up from the current LXC > paste into the volumes of the docker compose container... would it be something in /opt/homarr ?
tried this but it did not work... and made me start from scratch after pasting everything into /opt/homarr from the LXC.
services:
homarr:
image: ghcr.io/ajnart/homarr:latest
container_name: homarr
ports:
- 7575:7575
volumes:
- /opt/homarr/data:/app/data
environment:
- SECRET_ENCRYPTION_KEY=
restart: unless-stopped
I also pasted this from the LXC in the new docker VM directories and this still had me starting from scratch after deploying the docker container
/opt/homarr_db/migrations/
total 20
drwxr-xr-x 4 root root 4096 Apr 14 11:28 migrations
drwxr-xr-x 3 root root 4096 May 18 17:20 mysql
-rw-r--r-- 1 root root 267 Mar 1 11:55 run-seed.ts
-rw-r--r-- 1 root root 2646 Mar 1 11:55 seed.ts
drwxr-xr-x 3 root root 4096 May 18 17:20 sqlite
(Im really stupid so be kind plz)
tried this but it did not work... and made me start from scratch after pasting everything into /opt/homarr from the LXC.
services:
homarr:
image: ghcr.io/ajnart/homarr:latest
container_name: homarr
ports:
- 7575:7575
volumes:
- /opt/homarr/data:/app/data
environment:
- SECRET_ENCRYPTION_KEY=
restart: unless-stopped
I also pasted this from the LXC in the new docker VM directories and this still had me starting from scratch after deploying the docker container
/opt/homarr_db/migrations/
total 20
drwxr-xr-x 4 root root 4096 Apr 14 11:28 migrations
drwxr-xr-x 3 root root 4096 May 18 17:20 mysql
-rw-r--r-- 1 root root 267 Mar 1 11:55 run-seed.ts
-rw-r--r-- 1 root root 2646 Mar 1 11:55 seed.ts
drwxr-xr-x 3 root root 4096 May 18 17:20 sqlite
(Im really stupid so be kind plz)