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 @@
|
||||
# paymenter
|
||||
|
||||
| | |
|
||||
|---|---|
|
||||
| **Proxmox** | pve (CT 118) |
|
||||
| **IP** | 192.168.1.45 |
|
||||
| **Host** | 192.168.1.216 |
|
||||
|
||||
Config in `config/` (gepull'd van LXC).
|
||||
|
||||
```bash
|
||||
# Op Proxmox host:
|
||||
pct enter 118
|
||||
```
|
||||
@@ -0,0 +1,38 @@
|
||||
APP_NAME=Paymenter
|
||||
APP_ENV=production
|
||||
APP_KEY=base64:kbbDXGtU1mzp181rLQan1jt+SjbO4gVxOexjwSMz5Hk=
|
||||
APP_DEBUG=false
|
||||
APP_TIMEZONE=UTC
|
||||
|
||||
APP_LOCALE=en
|
||||
APP_FALLBACK_LOCALE=en
|
||||
APP_FAKER_LOCALE=en_US
|
||||
|
||||
APP_MAINTENANCE_DRIVER=file
|
||||
APP_MAINTENANCE_STORE=database
|
||||
|
||||
BCRYPT_ROUNDS=12
|
||||
|
||||
LOG_CHANNEL=stack
|
||||
LOG_STACK=daily
|
||||
LOG_DEPRECATIONS_CHANNEL=null
|
||||
LOG_LEVEL=debug
|
||||
|
||||
DB_CONNECTION=mariadb
|
||||
DB_HOST=127.0.0.1
|
||||
DB_PORT=3306
|
||||
DB_DATABASE=paymenter
|
||||
DB_USERNAME=paymenter
|
||||
DB_PASSWORD=XU9rOictz7O3p
|
||||
|
||||
BROADCAST_CONNECTION=log
|
||||
CACHE_STORE=redis
|
||||
FILESYSTEM_DISK=local
|
||||
SESSION_LIFETIME=120
|
||||
|
||||
MEMCACHED_HOST=127.0.0.1
|
||||
|
||||
REDIS_CLIENT=phpredis
|
||||
REDIS_HOST=127.0.0.1
|
||||
REDIS_PASSWORD=null
|
||||
REDIS_PORT=6379
|
||||
@@ -0,0 +1,38 @@
|
||||
APP_NAME=Paymenter
|
||||
APP_ENV=production
|
||||
APP_KEY=base64:kbbDXGtU1mzp181rLQan1jt+SjbO4gVxOexjwSMz5Hk=
|
||||
APP_DEBUG=false
|
||||
APP_TIMEZONE=UTC
|
||||
|
||||
APP_LOCALE=en
|
||||
APP_FALLBACK_LOCALE=en
|
||||
APP_FAKER_LOCALE=en_US
|
||||
|
||||
APP_MAINTENANCE_DRIVER=file
|
||||
APP_MAINTENANCE_STORE=database
|
||||
|
||||
BCRYPT_ROUNDS=12
|
||||
|
||||
LOG_CHANNEL=stack
|
||||
LOG_STACK=daily
|
||||
LOG_DEPRECATIONS_CHANNEL=null
|
||||
LOG_LEVEL=debug
|
||||
|
||||
DB_CONNECTION=mariadb
|
||||
DB_HOST=127.0.0.1
|
||||
DB_PORT=3306
|
||||
DB_DATABASE=paymenter
|
||||
DB_USERNAME=paymenter
|
||||
DB_PASSWORD=XU9rOictz7O3p
|
||||
|
||||
BROADCAST_CONNECTION=log
|
||||
CACHE_STORE=redis
|
||||
FILESYSTEM_DISK=local
|
||||
SESSION_LIFETIME=120
|
||||
|
||||
MEMCACHED_HOST=127.0.0.1
|
||||
|
||||
REDIS_CLIENT=phpredis
|
||||
REDIS_HOST=127.0.0.1
|
||||
REDIS_PASSWORD=null
|
||||
REDIS_PORT=6379
|
||||
@@ -0,0 +1,54 @@
|
||||
x-common:
|
||||
database:
|
||||
&db-environment
|
||||
# Do not remove the "&db-password" from the end of the line below, it is important
|
||||
# for Paymenter functionality.
|
||||
MYSQL_PASSWORD: &db-password "CHANGE_ME"
|
||||
MYSQL_ROOT_PASSWORD: "CHANGE_ME_TOO"
|
||||
|
||||
#
|
||||
# ------------------------------------------------------------------------------------------
|
||||
# DANGER ZONE BELOW
|
||||
#
|
||||
# The remainder of this file likely does not need to be changed. Please only make modifications
|
||||
# below if you understand what you are doing.
|
||||
#
|
||||
services:
|
||||
database:
|
||||
image: mariadb:lts
|
||||
restart: always
|
||||
command: --default-authentication-plugin=mysql_native_password
|
||||
volumes:
|
||||
- "./database:/var/lib/mysql"
|
||||
environment:
|
||||
<<: *db-environment
|
||||
MYSQL_DATABASE: "paymenter"
|
||||
MYSQL_USER: "paymenter"
|
||||
cache:
|
||||
image: redis:alpine
|
||||
restart: always
|
||||
paymenter:
|
||||
image: ghcr.io/paymenter/paymenter:master
|
||||
restart: always
|
||||
ports:
|
||||
- "80:80"
|
||||
links:
|
||||
- database
|
||||
- cache
|
||||
volumes:
|
||||
- "./:/app/var/"
|
||||
- "./storage/logs:/app/storage/logs"
|
||||
- "./storage/public:/app/storage/app/public"
|
||||
environment:
|
||||
DB_PASSWORD: *db-password
|
||||
APP_ENV: "production"
|
||||
CACHE_STORE: "redis"
|
||||
REDIS_HOST: "cache"
|
||||
DB_CONNECTION: "mariadb"
|
||||
DB_HOST: "database"
|
||||
DB_PORT: "3306"
|
||||
networks:
|
||||
default:
|
||||
ipam:
|
||||
config:
|
||||
- subnet: 172.23.0.0/16
|
||||
@@ -0,0 +1,7 @@
|
||||
# Auto-generated
|
||||
host: pve
|
||||
proxmox_ip: 192.168.1.216
|
||||
vmid: 118
|
||||
hostname: paymenter
|
||||
ip: 192.168.1.45
|
||||
status: running
|
||||
Reference in New Issue
Block a user