Pull Proxmox LXC app configs via SSH and document all CTs.
Add pull-lxc-from-proxmox.py using Proxmox API + pct exec for running containers (vaultwarden, linkwarden, paymenter, NPM, etc). Stub apps for stopped LXCs with proxmox.meta.yaml and updated lxc-inventory with live IPs. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
# linkwarden
|
||||
|
||||
| | |
|
||||
|---|---|
|
||||
| **Proxmox** | pve (CT 105) |
|
||||
| **IP** | 192.168.1.142 |
|
||||
| **Host** | 192.168.1.216 |
|
||||
|
||||
Config in `config/` (gepull'd van LXC).
|
||||
|
||||
```bash
|
||||
# Op Proxmox host:
|
||||
pct enter 105
|
||||
```
|
||||
@@ -0,0 +1,6 @@
|
||||
TEST_PASS=
|
||||
TEST_URL=http://localhost:${TEST_PORT}/api/v1
|
||||
|
||||
TEST_PORT_REVERSE=4000
|
||||
# Default value for port if no other specifies it
|
||||
TEST_PORT=5000
|
||||
@@ -0,0 +1,28 @@
|
||||
services:
|
||||
postgres:
|
||||
image: postgres:16-alpine
|
||||
env_file: .env
|
||||
restart: always
|
||||
volumes:
|
||||
- ./pgdata:/var/lib/postgresql/data
|
||||
linkwarden:
|
||||
env_file: .env
|
||||
environment:
|
||||
- DATABASE_URL=postgresql://postgres:${POSTGRES_PASSWORD}@postgres:5432/postgres
|
||||
restart: always
|
||||
# build: . # uncomment to build from source
|
||||
image: ghcr.io/linkwarden/linkwarden:latest # comment to build from source
|
||||
ports:
|
||||
- 3000:3000
|
||||
volumes:
|
||||
- ./data:/data/data
|
||||
depends_on:
|
||||
- postgres
|
||||
- meilisearch
|
||||
meilisearch:
|
||||
image: getmeili/meilisearch:v1.12.8
|
||||
restart: always
|
||||
env_file:
|
||||
- .env
|
||||
volumes:
|
||||
- ./meili_data:/meili_data
|
||||
@@ -0,0 +1,28 @@
|
||||
services:
|
||||
postgres:
|
||||
image: postgres:16-alpine
|
||||
env_file: .env
|
||||
restart: always
|
||||
volumes:
|
||||
- ./pgdata:/var/lib/postgresql/data
|
||||
linkwarden:
|
||||
env_file: .env
|
||||
environment:
|
||||
- DATABASE_URL=postgresql://postgres:${POSTGRES_PASSWORD}@postgres:5432/postgres
|
||||
restart: always
|
||||
# build: . # uncomment to build from source
|
||||
image: ghcr.io/linkwarden/linkwarden:latest # comment to build from source
|
||||
ports:
|
||||
- 3000:3000
|
||||
volumes:
|
||||
- ./data:/data/data
|
||||
depends_on:
|
||||
- postgres
|
||||
- meilisearch
|
||||
meilisearch:
|
||||
image: getmeili/meilisearch:v1.12.8
|
||||
restart: always
|
||||
env_file:
|
||||
- .env
|
||||
volumes:
|
||||
- ./meili_data:/meili_data
|
||||
@@ -0,0 +1,7 @@
|
||||
# Auto-generated
|
||||
host: pve
|
||||
proxmox_ip: 192.168.1.216
|
||||
vmid: 105
|
||||
hostname: linkwarden
|
||||
ip: 192.168.1.142
|
||||
status: running
|
||||
Reference in New Issue
Block a user