Added proxmox-vm and static tagging of docker images
Signed-off-by: Tuan-Dat Tran <tuan-dat.tran@tudattr.dev>
This commit is contained in:
@@ -15,7 +15,7 @@ services:
|
||||
vm:
|
||||
- docker-host00
|
||||
container_name: syncthing
|
||||
image: syncthing/syncthing
|
||||
image: syncthing/syncthing:1.29
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- name: "Data"
|
||||
@@ -42,7 +42,7 @@ services:
|
||||
vm:
|
||||
- docker-host00
|
||||
container_name: kuma
|
||||
image: louislam/uptime-kuma:1
|
||||
image: louislam/uptime-kuma:1.23.16
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- name: "Data"
|
||||
@@ -60,7 +60,7 @@ services:
|
||||
vm:
|
||||
- docker-host00
|
||||
container_name: plex
|
||||
image: lscr.io/linuxserver/plex:latest
|
||||
image: lscr.io/linuxserver/plex:1.41.5
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- name: "Configuration"
|
||||
@@ -113,7 +113,7 @@ services:
|
||||
vm:
|
||||
- docker-host01
|
||||
container_name: jellyfin
|
||||
image: jellyfin/jellyfin
|
||||
image: jellyfin/jellyfin:10.10
|
||||
restart: "unless-stopped"
|
||||
volumes:
|
||||
- name: "Configuration"
|
||||
@@ -171,7 +171,7 @@ services:
|
||||
vm:
|
||||
- docker-host00
|
||||
container_name: ddns-updater
|
||||
image: ghcr.io/qdm12/ddns-updater
|
||||
image: qmcgaw/ddns-updater:2
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- name: "Configuration"
|
||||
@@ -185,7 +185,7 @@ services:
|
||||
vm:
|
||||
- docker-host00
|
||||
container_name: sonarr
|
||||
image: lscr.io/linuxserver/sonarr:latest
|
||||
image: linuxserver/sonarr:4.0.14
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- name: "Configuration"
|
||||
@@ -209,7 +209,7 @@ services:
|
||||
vm:
|
||||
- docker-host00
|
||||
container_name: radarr
|
||||
image: lscr.io/linuxserver/radarr:latest
|
||||
image: linuxserver/radarr:5.21.1
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- name: "Configuration"
|
||||
@@ -233,7 +233,7 @@ services:
|
||||
vm:
|
||||
- docker-host00
|
||||
container_name: lidarr
|
||||
image: lscr.io/linuxserver/lidarr:latest
|
||||
image: linuxserver/lidarr:2.10.3
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- name: "Configuration"
|
||||
@@ -257,7 +257,7 @@ services:
|
||||
vm:
|
||||
- docker-host00
|
||||
container_name: prowlarr
|
||||
image: lscr.io/linuxserver/prowlarr:latest
|
||||
image: linuxserver/prowlarr:1.32.2
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- name: "Configuration"
|
||||
@@ -275,7 +275,7 @@ services:
|
||||
vm:
|
||||
- docker-host00
|
||||
container_name: paperless
|
||||
image: ghcr.io/paperless-ngx/paperless-ngx:latest
|
||||
image: ghcr.io/paperless-ngx/paperless-ngx:2.14
|
||||
restart: unless-stopped
|
||||
depends_on:
|
||||
- paperless-postgres
|
||||
@@ -311,7 +311,7 @@ services:
|
||||
vm:
|
||||
- docker-host00
|
||||
container_name: stirling
|
||||
image: frooodle/s-pdf:latest
|
||||
image: frooodle/s-pdf:0.45.0
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- name: "http"
|
||||
@@ -321,7 +321,7 @@ services:
|
||||
vm:
|
||||
- docker-host01
|
||||
container_name: gitea
|
||||
image: gitea/gitea:1.23.1-rootless
|
||||
image: gitea/gitea:1.23-rootless
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- name: "Configuration"
|
||||
@@ -350,7 +350,7 @@ services:
|
||||
vm:
|
||||
- docker-host00
|
||||
container_name: changedetection
|
||||
image: dgtlmoon/changedetection.io
|
||||
image: dgtlmoon/changedetection.io:0.49
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- name: "Data"
|
||||
@@ -364,7 +364,7 @@ services:
|
||||
vm:
|
||||
- docker-host00
|
||||
container_name: gluetun
|
||||
image: qmcgaw/gluetun
|
||||
image: qmcgaw/gluetun:v3.40
|
||||
restart: unless-stopped
|
||||
cap_add:
|
||||
- NET_ADMIN
|
||||
@@ -423,7 +423,7 @@ services:
|
||||
vm:
|
||||
- docker-host00
|
||||
container_name: qbit
|
||||
image: qbittorrentofficial/qbittorrent-nox
|
||||
image: qbittorrentofficial/qbittorrent-nox:5.0.4-1
|
||||
restart: unless-stopped
|
||||
depends_on:
|
||||
- gluetun
|
||||
@@ -449,9 +449,8 @@ services:
|
||||
vm:
|
||||
- docker-host00
|
||||
- docker-host01
|
||||
- docker-host02
|
||||
container_name: cadvisor
|
||||
image: gcr.io/cadvisor/cadvisor:latest
|
||||
image: gcr.io/cadvisor/cadvisor:v0.52.1
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- name: ""
|
||||
@@ -470,79 +469,101 @@ services:
|
||||
- name: "Docker"
|
||||
internal: /var/lib/docker:ro
|
||||
external: /var/lib/docker
|
||||
# - name: template
|
||||
# vm:
|
||||
# -
|
||||
# container_name:
|
||||
# image:
|
||||
# restart:
|
||||
# volumes:
|
||||
# - name:
|
||||
# internal:
|
||||
# external:
|
||||
# ports:
|
||||
# - name:
|
||||
# internal:
|
||||
# external:
|
||||
# environment:
|
||||
# -
|
||||
# - name: calibre
|
||||
# vm:
|
||||
# - docker-host00
|
||||
# container_name: calibre
|
||||
# image: lscr.io/linuxserver/calibre-web:latest
|
||||
# restart: unless-stopped
|
||||
# volumes:
|
||||
# - name: "Configuration"
|
||||
# internal: /config"
|
||||
# external: /opt/local/calibre/
|
||||
# - name: "Books"
|
||||
# internal: /books"
|
||||
# external: /media/docker/data/calibre/
|
||||
# ports:
|
||||
# - name: "http"
|
||||
# internal: 5000
|
||||
# external: 5000
|
||||
# environment:
|
||||
# - PUID=1000
|
||||
# - PGID=1000
|
||||
# - TZ=Europe/Berlin
|
||||
# - DOCKER_MODS=linuxserver/mods:universal-calibre
|
||||
# - name: grafana
|
||||
# vm:
|
||||
# container_name: grafana
|
||||
# image: grafana/grafana-oss
|
||||
# restart: unless-stopped
|
||||
# volumes:
|
||||
# - name: "Configuration"
|
||||
# internal: /etc/grafana/
|
||||
# external: /opt/docker/config/grafana/config/
|
||||
# - name: "Data"
|
||||
# internal: /var/lib/grafana/
|
||||
# external: /media/docker/data/grafana/
|
||||
# ports:
|
||||
# environment:
|
||||
# - PUID=472
|
||||
# - PGID=472
|
||||
# - TZ=Europe/Berlin
|
||||
# - name: prometheus
|
||||
# vm:
|
||||
# - docker-host00
|
||||
# container_name: prometheus
|
||||
# image: prom/prometheus
|
||||
# restart: unless-stopped
|
||||
# volumes:
|
||||
# - name: "Configuration"
|
||||
# internal: /etc/prometheus/
|
||||
# external: /opt/docker/config/prometheus/
|
||||
# - name: "Data"
|
||||
# internal: /prometheus/
|
||||
# external: prometheus_data
|
||||
# ports:
|
||||
# - name: "http"
|
||||
# internal: 5000
|
||||
# external: 5000
|
||||
# environment:
|
||||
# - PUID=65534
|
||||
# - PGID=65534
|
||||
# - TZ=Europe/Berlin
|
||||
# - name: anubis
|
||||
# vm:
|
||||
# - docker-host00
|
||||
# - docker-host01
|
||||
# container_name: anubis
|
||||
# image: ghcr.io/techarohq/anubis:v1.15.2
|
||||
# restart: unless-stopped
|
||||
# ports:
|
||||
# - name: ""
|
||||
# internal: 8080
|
||||
# external: 8080
|
||||
# volumes:
|
||||
# - name: ""
|
||||
# internal: "/data/cfg/botPolicy.json:ro"
|
||||
# external: "./botPolicy.json"
|
||||
# environment:
|
||||
# - BIND=":8080"
|
||||
# - DIFFICULTY="5"
|
||||
# - METRICS_BIND=":9090"
|
||||
# - SERVE_ROBOTS_TXT="true"
|
||||
# - TARGET="http://{{ hostvars[docker-lb].host.ip }}"
|
||||
# - POLICY_FNAME="/data/cfg/botPolicy.json"
|
||||
# - name: template
|
||||
# vm:
|
||||
# -
|
||||
# container_name:
|
||||
# image:
|
||||
# restart:
|
||||
# volumes:
|
||||
# - name:
|
||||
# internal:
|
||||
# external:
|
||||
# ports:
|
||||
# - name:
|
||||
# internal:
|
||||
# external:
|
||||
# environment:
|
||||
# -
|
||||
# - name: calibre
|
||||
# vm:
|
||||
# - docker-host00
|
||||
# container_name: calibre
|
||||
# image: lscr.io/linuxserver/calibre-web:latest
|
||||
# restart: unless-stopped
|
||||
# volumes:
|
||||
# - name: "Configuration"
|
||||
# internal: /config"
|
||||
# external: /opt/local/calibre/
|
||||
# - name: "Books"
|
||||
# internal: /books"
|
||||
# external: /media/docker/data/calibre/
|
||||
# ports:
|
||||
# - name: "http"
|
||||
# internal: 5000
|
||||
# external: 5000
|
||||
# environment:
|
||||
# - PUID=1000
|
||||
# - PGID=1000
|
||||
# - TZ=Europe/Berlin
|
||||
# - DOCKER_MODS=linuxserver/mods:universal-calibre
|
||||
# - name: grafana
|
||||
# vm:
|
||||
# container_name: grafana
|
||||
# image: grafana/grafana-oss
|
||||
# restart: unless-stopped
|
||||
# volumes:
|
||||
# - name: "Configuration"
|
||||
# internal: /etc/grafana/
|
||||
# external: /opt/docker/config/grafana/config/
|
||||
# - name: "Data"
|
||||
# internal: /var/lib/grafana/
|
||||
# external: /media/docker/data/grafana/
|
||||
# ports:
|
||||
# environment:
|
||||
# - PUID=472
|
||||
# - PGID=472
|
||||
# - TZ=Europe/Berlin
|
||||
# - name: prometheus
|
||||
# vm:
|
||||
# - docker-host00
|
||||
# container_name: prometheus
|
||||
# image: prom/prometheus
|
||||
# restart: unless-stopped
|
||||
# volumes:
|
||||
# - name: "Configuration"
|
||||
# internal: /etc/prometheus/
|
||||
# external: /opt/docker/config/prometheus/
|
||||
# - name: "Data"
|
||||
# internal: /prometheus/
|
||||
# external: prometheus_data
|
||||
# ports:
|
||||
# - name: "http"
|
||||
# internal: 5000
|
||||
# external: 5000
|
||||
# environment:
|
||||
# - PUID=65534
|
||||
# - PGID=65534
|
||||
# - TZ=Europe/Berlin
|
||||
|
||||
8
group_vars/proxmox/secrets_vm.yml
Normal file
8
group_vars/proxmox/secrets_vm.yml
Normal file
@@ -0,0 +1,8 @@
|
||||
$ANSIBLE_VAULT;1.1;AES256
|
||||
65336233643939653766663539646638346437653862656539666366353630376231353866336439
|
||||
3661363464343138333038633464646361616161376662610a303266333539306563393464613238
|
||||
36356264633564653265653632323664653133646261656234643235303165393666663539333938
|
||||
3665373736323262650a376564663737666339356666393934653234386234306334633864626130
|
||||
62663831633836373666303365643539336435393165343461346666636463653564343065653962
|
||||
62653163366663386234383462613837316166633735383862646238303263376464366564623631
|
||||
383264383961333035653539313266663463
|
||||
@@ -4,10 +4,19 @@ proxmox_api_password: "{{ vault.pve.aya01.root.sudo }}"
|
||||
|
||||
proxmox_vms:
|
||||
- name: "test-vm-00"
|
||||
hostname: "test-vm-00"
|
||||
node:
|
||||
- "aya01"
|
||||
ostemplate: ""
|
||||
node: "inko"
|
||||
vmid: 950
|
||||
cores: 2
|
||||
cpu: "x86-64-v2-AES"
|
||||
memory: 8192 # in MiB
|
||||
net:
|
||||
net0: "virtio,bridge=vmbr0,firewall=1"
|
||||
scsi:
|
||||
scsi0: "proxmox:64,format=qcow2"
|
||||
scsihw: "virtio-scsi-single"
|
||||
ostype: "l26"
|
||||
sshkeys: "{{ pubkey }}"
|
||||
ciuser: "{{ user }}"
|
||||
|
||||
proxmox_lxcs:
|
||||
- name: "test-lxc-00"
|
||||
|
||||
Reference in New Issue
Block a user