chore: minor changes in profiles

- reorder keys
- clean useless (dynamic) fields
- rename somes profile to normalize naming
This commit is contained in:
xavier committed 2025-10-06 23:47:52 +02:00
1 parent c8ef28ad7e
commit de774366e0
7 files changed
+19 -23

No files matched your search

+4 -12
View File
@@ -1,3 +1,7 @@
name: network-back
description: "Back network"
managed: true
type: bridge
config: config:
dns.domain: back.lxd dns.domain: back.lxd
dns.zone.forward: back.lxd dns.zone.forward: back.lxd
@@ -5,15 +9,3 @@ config:
ipv4.nat: "true" ipv4.nat: "true"
ipv6.address: fd42:7d68:cedd:4230::1/64 ipv6.address: fd42:7d68:cedd:4230::1/64
ipv6.nat: "true" ipv6.nat: "true"
description: ""
name: back
type: bridge
used_by:
- /1.0/instances/gitea
- /1.0/instances/postgresql
- /1.0/profiles/back
- /1.0/profiles/frontback
managed: true
status: Created
locations:
- none
+3 -3
View File
@@ -1,7 +1,7 @@
type: bridge name: network-front
name: front description: "Front network"
description: "Frontend network"
managed: true managed: true
type: bridge
config: config:
dns.domain: front.lxd dns.domain: front.lxd
dns.zone.forward: front.lxd dns.zone.forward: front.lxd
+3 -3
View File
@@ -1,7 +1,7 @@
type: bridge name: network-home
name: home description: "Home network"
description: "home network"
managed: true managed: true
type: bridge
config: config:
dns.domain: home.lxd dns.domain: home.lxd
dns.zone.forward: home.lxd dns.zone.forward: home.lxd
+2 -2
View File
@@ -1,7 +1,7 @@
name: public name: network-public
description: "Public network" description: "Public network"
type: bridge
managed: true managed: true
type: bridge
config: config:
dns.domain: public.lxd dns.domain: public.lxd
dns.zone.forward: public.lxd dns.zone.forward: public.lxd
+5
View File
@@ -0,0 +1,5 @@
name: size-small
description: "Small sized instance limits"
limits:
cpu: 1
memory: 2GB
+1 -1
View File
@@ -1,7 +1,7 @@
name: proxy-docker-tcp name: proxy-docker-tcp
description: Expose private docker sock via tcp on the host description: Expose private docker sock via tcp on the host
devices: devices:
dockersock: docker:
type: proxy type: proxy
listen: tcp:0.0.0.0:2375 listen: tcp:0.0.0.0:2375
connect: unix:/run/docker.sock connect: unix:/run/docker.sock
@@ -1,9 +1,8 @@
name: proxy-docker-unix name: proxy-docker-unix
description: Expose the Docker socket as a Unix socket description: Expose the Docker socket as a Unix socket
devices: devices:
docker-socket: docker:
type: proxy type: proxy
# listen: unix:/tmp/lxd-docker-unix.sock
listen: unix:/var/run/docker.sock listen: unix:/var/run/docker.sock
connect: unix:/run/docker.sock connect: unix:/run/docker.sock
uid: 1000 uid: 1000