Skip to content

AyLabsCode/glance-templates

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

glance-templates

YAML configuration for glanceapp/glance

image

Getting started

Install Glance on Proxmox with community scripts

cd /opt/glance
rm glance.yml
apt install git
git clone https://github.com/AyLabsCode/glance-templates.git

Access to files from your computer

  • In the LXC, permit root login
nano /etc/ssh/sshd_config

# Authentication:
#LoginGraceTime 2m
PermitRootLogin yes <-- Here
#StrictModes yes
#MaxAuthTries 6
  • Update the password (and remember it)
passwd
  • Reboot

  • Install CyberDuck

  • Create a new connection

    • SFTP
    • Server: your IP
    • Port: 22
    • User
    • Password
    • OK
  • Go to /opt/glance

  • You can now pick a file, and edit it in TextEdit or VS Code easily, from your computer !

Use my templates

  • Duplicate template.env and name it prod.env
  • Add your keys
  • In the host, update the configuration
nano /etc/systemd/system/glance.service

Update in [Service] category

ExecStart=/opt/glance/glance --config /opt/glance/glance-templates/glance.yml
EnvironmentFile=/opt/glance/glance-templates/prod.env
  • Then restart daemon
systemctl daemon-reload
systemctl restart glance
  • Enjoy

For troubleshooting, you can try systemctl status glance

About

YAML configuration for glanceapp/glance

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors