mirror of
https://github.com/ChristianLempa/boilerplates.git
synced 2024-11-07 17:03:59 +01:00
Merge branch 'main' into authentik
This commit is contained in:
commit
ed2e1e74dc
9
.github/pull_request_template.md
vendored
9
.github/pull_request_template.md
vendored
@ -1,12 +1,5 @@
|
|||||||
### Pull Request
|
### Pull Request
|
||||||
|
|
||||||
*Please write all text in English in order to facilitate communication and collaboration, and follow this checklist. It will help the contributors to review your PR. Thank you!*
|
*Please write all text in English in order to facilitate communication and collaboration. Thank you!*
|
||||||
|
|
||||||
- [ ] My pull request has a descriptive title. (unlike `Update index.md`). Check [this](https://www.conventionalcommits.org/en/v1.0.0/) guide regarding titles.
|
|
||||||
- [ ] If applicable, I have tested these changes locally.
|
|
||||||
|
|
||||||
*If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.*
|
|
||||||
|
|
||||||
Closes #XXXXX
|
|
||||||
|
|
||||||
---
|
---
|
||||||
|
7
.gitignore
vendored
7
.gitignore
vendored
@ -1,4 +1,7 @@
|
|||||||
.obsidian
|
# Ignore local development files
|
||||||
**/.vscode
|
**/.vscode
|
||||||
**/.env
|
|
||||||
**/.DS_Store
|
**/.DS_Store
|
||||||
|
|
||||||
|
# Docker Secrets, Environment Files
|
||||||
|
**/secret.*
|
||||||
|
**/.env
|
||||||
|
@ -4,7 +4,7 @@ volumes:
|
|||||||
driver: local
|
driver: local
|
||||||
services:
|
services:
|
||||||
mysql:
|
mysql:
|
||||||
image: mysql:8.0
|
image: mysql:8.3
|
||||||
hostname: mysql
|
hostname: mysql
|
||||||
volumes:
|
volumes:
|
||||||
- semaphore-mysql:/var/lib/mysql
|
- semaphore-mysql:/var/lib/mysql
|
||||||
@ -16,7 +16,7 @@ services:
|
|||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
semaphore:
|
semaphore:
|
||||||
container_name: ansiblesemaphore
|
container_name: ansiblesemaphore
|
||||||
image: semaphoreui/semaphore:v2.9.45
|
image: semaphoreui/semaphore:v2.9.58
|
||||||
user: "${UID}:${GID}"
|
user: "${UID}:${GID}"
|
||||||
ports:
|
ports:
|
||||||
- 3000:3000
|
- 3000:3000
|
||||||
|
@ -1,17 +1,17 @@
|
|||||||
---
|
---
|
||||||
services:
|
services:
|
||||||
cadvisor:
|
cadvisor:
|
||||||
image: gcr.io/cadvisor/cadvisor:v0.47.0
|
image: gcr.io/cadvisor/cadvisor:v0.49.1
|
||||||
container_name: cadvisor
|
container_name: cadvisor
|
||||||
ports:
|
ports:
|
||||||
- 8080:8080
|
- 8080:8080
|
||||||
volumes:
|
volumes:
|
||||||
- /:/rootfs:ro
|
- /:/rootfs:ro
|
||||||
- /var/run:/var/run:ro
|
- /var/run:/var/run:ro
|
||||||
- /sys:/sys:ro
|
- /sys:/sys:ro
|
||||||
- /var/lib/docker/:/var/lib/docker:ro
|
- /var/lib/docker/:/var/lib/docker:ro
|
||||||
- /dev/disk/:/dev/disk:ro
|
- /dev/disk/:/dev/disk:ro
|
||||||
devices:
|
devices:
|
||||||
- /dev/kmsg
|
- /dev/kmsg
|
||||||
privileged: true
|
privileged: true
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
@ -4,7 +4,7 @@ volumes:
|
|||||||
driver: local
|
driver: local
|
||||||
services:
|
services:
|
||||||
grafana:
|
grafana:
|
||||||
image: grafana/grafana-oss:10.3.3
|
image: docker.io/grafana/grafana-oss:10.4.1
|
||||||
container_name: grafana
|
container_name: grafana
|
||||||
ports:
|
ports:
|
||||||
- "3000:3000"
|
- "3000:3000"
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
services:
|
services:
|
||||||
heimdall:
|
heimdall:
|
||||||
image: lscr.io/linuxserver/heimdall:2.6.1
|
image: lscr.io/linuxserver/heimdall:2021.11.28
|
||||||
container_name: heimdall
|
container_name: heimdall
|
||||||
environment:
|
environment:
|
||||||
- PUID=1000
|
- PUID=1000
|
||||||
|
@ -2,10 +2,11 @@
|
|||||||
services:
|
services:
|
||||||
homeassistant:
|
homeassistant:
|
||||||
container_name: homeassistant
|
container_name: homeassistant
|
||||||
image: "ghcr.io/home-assistant/home-assistant:2023.6"
|
image: ghcr.io/home-assistant/home-assistant:2024.3.3
|
||||||
volumes:
|
volumes:
|
||||||
- ./config:/config
|
- ./config:/config
|
||||||
- /etc/localtime:/etc/localtime:ro
|
- /etc/localtime:/etc/localtime:ro
|
||||||
|
- /run/dbus:/run/dbus:ro
|
||||||
# devices:
|
# devices:
|
||||||
# - /dev/ttyACMO # (optional) Add serial devices to the container
|
# - /dev/ttyACMO # (optional) Add serial devices to the container
|
||||||
privileged: true
|
privileged: true
|
||||||
|
33
docker-compose/homepage/docker-compose.yaml
Normal file
33
docker-compose/homepage/docker-compose.yaml
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
---
|
||||||
|
services:
|
||||||
|
homepage:
|
||||||
|
image: ghcr.io/gethomepage/homepage::v0.8.9
|
||||||
|
container_name: homepage
|
||||||
|
environment:
|
||||||
|
- LOG_LEVEL=info
|
||||||
|
# (Optional) Run as a specific user
|
||||||
|
# - PUID=your-user-id
|
||||||
|
# - PGID=your-group-id
|
||||||
|
# (Optional) For secret variables
|
||||||
|
# - HOMEPAGE_VAR_YOURSECRET=your-secret-key
|
||||||
|
ports:
|
||||||
|
- 3000:3000
|
||||||
|
volumes:
|
||||||
|
- ./config:/app/config
|
||||||
|
- ./images:/app/images # for custom background images
|
||||||
|
- ./icons:/app/icons # for custom icons
|
||||||
|
restart: unless-stopped
|
||||||
|
# (Optional) For secure docker socket integration
|
||||||
|
# dockerproxy:
|
||||||
|
# image: ghcr.io/tecnativa/docker-socket-proxy:v0.1.1
|
||||||
|
# container_name: homepage-demo-1-dockerproxy
|
||||||
|
# environment:
|
||||||
|
# - CONTAINERS=1 # Allow access to viewing containers
|
||||||
|
# - SERVICES=1 # Allow access to viewing services (necessary when using Docker Swarm)
|
||||||
|
# - TASKS=1 # Allow access to viewing tasks (necessary when using Docker Swarm)
|
||||||
|
# - POST=0 # Disallow any POST operations (effectively read-only)
|
||||||
|
# ports:
|
||||||
|
# - 127.0.0.1:2375:2375
|
||||||
|
# volumes:
|
||||||
|
# - /var/run/docker.sock:/var/run/docker.sock:ro # Mounted as read-only
|
||||||
|
# restart: unless-stopped
|
@ -19,7 +19,7 @@ services:
|
|||||||
nextcloud-db:
|
nextcloud-db:
|
||||||
# See compatibility matrix for Nextcloud 28
|
# See compatibility matrix for Nextcloud 28
|
||||||
# https://docs.nextcloud.com/server/28/admin_manual/installation/system_requirements.html
|
# https://docs.nextcloud.com/server/28/admin_manual/installation/system_requirements.html
|
||||||
image: docker.io/library/mariadb:10.6.17
|
image: docker.io/library/mariadb:11.3.2
|
||||||
container_name: nextcloud-db
|
container_name: nextcloud-db
|
||||||
command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW
|
command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW
|
||||||
volumes:
|
volumes:
|
||||||
|
@ -5,7 +5,7 @@ volumes:
|
|||||||
nginxproxymanager-db:
|
nginxproxymanager-db:
|
||||||
services:
|
services:
|
||||||
nginxproxymanager:
|
nginxproxymanager:
|
||||||
image: jc21/nginx-proxy-manager:2.10.3
|
image: docker.io/jc21/nginx-proxy-manager:2.11.1
|
||||||
ports:
|
ports:
|
||||||
- 80:80
|
- 80:80
|
||||||
- 81:81
|
- 81:81
|
||||||
@ -20,7 +20,7 @@ services:
|
|||||||
- nginxproxymanager-data:/data
|
- nginxproxymanager-data:/data
|
||||||
- nginxproxymanager-ssl:/etc/letsencrypt
|
- nginxproxymanager-ssl:/etc/letsencrypt
|
||||||
nginxproxymanager-db:
|
nginxproxymanager-db:
|
||||||
image: jc21/mariadb-aria:10.4.15
|
image: jc21/mariadb-aria:10.11.5
|
||||||
environment:
|
environment:
|
||||||
- MYSQL_ROOT_PASSWORD=npm
|
- MYSQL_ROOT_PASSWORD=npm
|
||||||
- MYSQL_DATABASE=npm
|
- MYSQL_DATABASE=npm
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
---
|
---
|
||||||
services:
|
services:
|
||||||
node_exporter:
|
node_exporter:
|
||||||
image: quay.io/prometheus/node-exporter:v1.5.0
|
image: quay.io/prometheus/node-exporter:v1.7.0
|
||||||
container_name: node_exporter
|
container_name: node_exporter
|
||||||
command: "--path.rootfs=/host"
|
command: "--path.rootfs=/host"
|
||||||
pid: host
|
pid: host
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
volumes:
|
volumes:
|
||||||
- /:/host:ro,rslave
|
- /:/host:ro,rslave
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
services:
|
services:
|
||||||
nvidia_smi_exporter:
|
nvidia_smi_exporter:
|
||||||
image: utkuozdemir/nvidia_gpu_exporter:0.3.0
|
image: utkuozdemir/nvidia_gpu_exporter:1.2.0
|
||||||
container_name: nvidia_smi_exporter
|
container_name: nvidia_smi_exporter
|
||||||
runtime: nvidia
|
runtime: nvidia
|
||||||
environment:
|
environment:
|
||||||
|
@ -6,7 +6,7 @@ volumes:
|
|||||||
services:
|
services:
|
||||||
passbolt-db:
|
passbolt-db:
|
||||||
container_name: passbolt-db
|
container_name: passbolt-db
|
||||||
image: mariadb:10.3
|
image: mariadb:11.3
|
||||||
environment:
|
environment:
|
||||||
- MYSQL_RANDOM_ROOT_PASSWORD=true
|
- MYSQL_RANDOM_ROOT_PASSWORD=true
|
||||||
- MYSQL_DATABASE=$PASSBOLT_DB_NAME
|
- MYSQL_DATABASE=$PASSBOLT_DB_NAME
|
||||||
|
45
docker-compose/postgres/docker-compose.yaml
Normal file
45
docker-compose/postgres/docker-compose.yaml
Normal file
@ -0,0 +1,45 @@
|
|||||||
|
---
|
||||||
|
services:
|
||||||
|
postgres:
|
||||||
|
image: postgres:16.2
|
||||||
|
container_name: postgres
|
||||||
|
environment:
|
||||||
|
- POSTGRES_INITDB_ARGS=${POSTGRES_INITDB_ARGS---data-checksums}
|
||||||
|
- POSTGRES_HOST_AUTH_METHOD=${POSTGRES_HOST_AUTH_METHOD-}
|
||||||
|
- POSTGRES_USER=${POSTGRES_USER:-postgres}
|
||||||
|
- POSTGRES_PASSWORD_FILE=/run/secrets/postgres_password
|
||||||
|
- POSTGRES_DB=${POSTGRES_DB:-$POSTGRES_USER}
|
||||||
|
- TZ=${TZ:-UTC}
|
||||||
|
ports:
|
||||||
|
- 5432:5432
|
||||||
|
healthcheck:
|
||||||
|
test: ['CMD-SHELL', 'pg_isready -U "${POSTGRES_USER:-postgres}"']
|
||||||
|
start_period: 30s
|
||||||
|
interval: 10s
|
||||||
|
timeout: 10s
|
||||||
|
retries: 5
|
||||||
|
# (Optional) When using custom network, see also
|
||||||
|
# https://docs.docker.com/compose/compose-file/compose-file-v3/#networks
|
||||||
|
#
|
||||||
|
# networks:
|
||||||
|
# - yournetwork
|
||||||
|
secrets:
|
||||||
|
- postgres_password
|
||||||
|
volumes:
|
||||||
|
- postgres_data:/var/lib/postgresql/data
|
||||||
|
restart: unless-stopped
|
||||||
|
|
||||||
|
# (Optional) When using custom network, see also
|
||||||
|
# https://docs.docker.com/compose/compose-file/compose-file-v3/#network-configuration-reference
|
||||||
|
#
|
||||||
|
# networks:
|
||||||
|
# yournetwork:
|
||||||
|
# external: true
|
||||||
|
|
||||||
|
secrets:
|
||||||
|
postgres_password:
|
||||||
|
file: secret.postgres_password.txt
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
postgres_data:
|
||||||
|
driver: local
|
@ -1,27 +1,27 @@
|
|||||||
global:
|
global:
|
||||||
scrape_interval: 15s # By default, scrape targets every 15 seconds.
|
scrape_interval: 15s # By default, scrape targets every 15 seconds.
|
||||||
|
|
||||||
# Attach these labels to any time series or alerts when communicating with
|
# Attach these labels to any time series or alerts when communicating with
|
||||||
# external systems (federation, remote storage, Alertmanager).
|
# external systems (federation, remote storage, Alertmanager).
|
||||||
# external_labels:
|
# external_labels:
|
||||||
# monitor: 'codelab-monitor'
|
# monitor: 'codelab-monitor'
|
||||||
|
|
||||||
# A scrape configuration containing exactly one endpoint to scrape:
|
# A scrape configuration containing exactly one endpoint to scrape:
|
||||||
# Here it's Prometheus itself.
|
# Here it's Prometheus itself.
|
||||||
scrape_configs:
|
scrape_configs:
|
||||||
# The job name is added as a label `job=<job_name>` to any timeseries scraped from this config.
|
# The job name is added as a label `job=<job_name>` to any timeseries scraped from this config.
|
||||||
- job_name: 'prometheus'
|
- job_name: 'prometheus'
|
||||||
# Override the global default and scrape targets from this job every 5 seconds.
|
# Override the global default and scrape targets from this job every 5 seconds.
|
||||||
scrape_interval: 5s
|
scrape_interval: 5s
|
||||||
static_configs:
|
static_configs:
|
||||||
- targets: ['localhost:9090']
|
- targets: ['localhost:9090']
|
||||||
|
|
||||||
# Example job for node_exporter
|
# Example job for node_exporter
|
||||||
# - job_name: 'node_exporter'
|
# - job_name: 'node_exporter'
|
||||||
# static_configs:
|
# static_configs:
|
||||||
# - targets: ['node_exporter:9100']
|
# - targets: ['node_exporter:9100']
|
||||||
|
|
||||||
# Example job for cadvisor
|
# Example job for cadvisor
|
||||||
# - job_name: 'cadvisor'
|
# - job_name: 'cadvisor'
|
||||||
# static_configs:
|
# static_configs:
|
||||||
# - targets: ['cadvisor:8080']
|
# - targets: ['cadvisor:8080']
|
||||||
|
@ -4,7 +4,7 @@ volumes:
|
|||||||
driver: local
|
driver: local
|
||||||
services:
|
services:
|
||||||
prometheus:
|
prometheus:
|
||||||
image: prom/prometheus:v2.50.1
|
image: prom/prometheus:v2.51.0
|
||||||
container_name: prometheus
|
container_name: prometheus
|
||||||
ports:
|
ports:
|
||||||
- 9090:9090
|
- 9090:9090
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
# external: true
|
# external: true
|
||||||
services:
|
services:
|
||||||
teleport:
|
teleport:
|
||||||
image: public.ecr.aws/gravitational/teleport-distroless:13
|
image: public.ecr.aws/gravitational/teleport-distroless:15
|
||||||
container_name: teleport
|
container_name: teleport
|
||||||
ports:
|
ports:
|
||||||
# -- (Optional) Remove this section, when using Traefik
|
# -- (Optional) Remove this section, when using Traefik
|
||||||
|
@ -0,0 +1,16 @@
|
|||||||
|
http:
|
||||||
|
routers:
|
||||||
|
your-local-router:
|
||||||
|
rule: "Host(`your-local-service.your-domain.com`) && PathPrefix(`/`)"
|
||||||
|
service: your-local-service
|
||||||
|
priority: 1000
|
||||||
|
entryPoints:
|
||||||
|
- web
|
||||||
|
# (optional) Permanent Redirect to HTTPS
|
||||||
|
# - websecure
|
||||||
|
|
||||||
|
services:
|
||||||
|
your-local-service:
|
||||||
|
loadBalancer:
|
||||||
|
servers:
|
||||||
|
- url: "http://your-local-service:port"
|
@ -84,7 +84,7 @@ deployment:
|
|||||||
# The "volume-permissions" init container is required if you run into permission issues.
|
# The "volume-permissions" init container is required if you run into permission issues.
|
||||||
# Related issue: https://github.com/containous/traefik/issues/6972
|
# Related issue: https://github.com/containous/traefik/issues/6972
|
||||||
- name: volume-permissions
|
- name: volume-permissions
|
||||||
image: busybox:1.31.1
|
image: busybox:1.36.1
|
||||||
command: ["sh", "-c", "chmod -Rv 600 /ssl-certs/*"]
|
command: ["sh", "-c", "chmod -Rv 600 /ssl-certs/*"]
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: ssl-certs
|
- name: ssl-certs
|
||||||
|
19
renovate.json
Normal file
19
renovate.json
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
{
|
||||||
|
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
||||||
|
"labels": ["renovate"],
|
||||||
|
"packageRules": [
|
||||||
|
{
|
||||||
|
"depTypeList": [ "devDependencies", "require-dev" ],
|
||||||
|
"updateTypes": [ "patch", "minor", "digest"],
|
||||||
|
"groupName": "devDependencies (non-major)"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"extends": [
|
||||||
|
"config:base",
|
||||||
|
":preserveSemverRanges",
|
||||||
|
":dependencyDashboard",
|
||||||
|
":rebaseStalePrs",
|
||||||
|
":enableVulnerabilityAlertsWithLabel('security')",
|
||||||
|
"group:recommended"
|
||||||
|
]
|
||||||
|
}
|
@ -8,7 +8,7 @@ terraform {
|
|||||||
required_providers {
|
required_providers {
|
||||||
cloudflare = {
|
cloudflare = {
|
||||||
source = "cloudflare/cloudflare"
|
source = "cloudflare/cloudflare"
|
||||||
version = "~> 3.0"
|
version = "~> 4.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -9,7 +9,7 @@ terraform {
|
|||||||
required_providers {
|
required_providers {
|
||||||
kubectl = {
|
kubectl = {
|
||||||
source = "gavinbunney/kubectl"
|
source = "gavinbunney/kubectl"
|
||||||
version = "1.13.1"
|
version = "1.14.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -9,7 +9,7 @@ terraform {
|
|||||||
required_providers {
|
required_providers {
|
||||||
kubernetes = {
|
kubernetes = {
|
||||||
source = "hashicorp/kubernetes"
|
source = "hashicorp/kubernetes"
|
||||||
version = "2.8.0"
|
version = "2.27.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -5,7 +5,7 @@ terraform {
|
|||||||
required_providers {
|
required_providers {
|
||||||
cloudflare = {
|
cloudflare = {
|
||||||
source = "cloudflare/cloudflare"
|
source = "cloudflare/cloudflare"
|
||||||
version = "~> 3.0"
|
version = "~> 4.0"
|
||||||
}
|
}
|
||||||
civo = {
|
civo = {
|
||||||
source = "civo/civo"
|
source = "civo/civo"
|
||||||
|
@ -9,19 +9,19 @@ terraform {
|
|||||||
}
|
}
|
||||||
helm = {
|
helm = {
|
||||||
source = "hashicorp/helm"
|
source = "hashicorp/helm"
|
||||||
version = "2.4.1"
|
version = "2.12.1"
|
||||||
}
|
}
|
||||||
kubernetes = {
|
kubernetes = {
|
||||||
source = "hashicorp/kubernetes"
|
source = "hashicorp/kubernetes"
|
||||||
version = "2.8.0"
|
version = "2.27.0"
|
||||||
}
|
}
|
||||||
kubectl = {
|
kubectl = {
|
||||||
source = "gavinbunney/kubectl"
|
source = "gavinbunney/kubectl"
|
||||||
version = "1.13.1"
|
version = "1.14.0"
|
||||||
}
|
}
|
||||||
cloudflare = {
|
cloudflare = {
|
||||||
source = "cloudflare/cloudflare"
|
source = "cloudflare/cloudflare"
|
||||||
version = "~> 3.0"
|
version = "~> 4.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -2,7 +2,7 @@ terraform {
|
|||||||
required_providers {
|
required_providers {
|
||||||
docker = {
|
docker = {
|
||||||
source = "kreuzwerker/docker"
|
source = "kreuzwerker/docker"
|
||||||
version = "~> 2.13.0"
|
version = "~> 3.0.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
40
vagrant/hyperv/ubuntu/docker/Vagrantfile
vendored
40
vagrant/hyperv/ubuntu/docker/Vagrantfile
vendored
@ -1,20 +1,20 @@
|
|||||||
# -*- mode: ruby -*-
|
# -*- mode: ruby -*-
|
||||||
# vi: set ft=ruby :
|
# vi: set ft=ruby :
|
||||||
|
|
||||||
Vagrant.configure("2") do |config|
|
Vagrant.configure("2") do |config|
|
||||||
config.vm.box = "generic/ubuntu2004"
|
config.vm.box = "generic/ubuntu2004"
|
||||||
config.vm.network "public_network"
|
config.vm.network "public_network"
|
||||||
config.vm.synced_folder ".", "/vagrant_data", disabled: true
|
config.vm.synced_folder ".", "/vagrant_data", disabled: true
|
||||||
config.vm.provider "hyperv"
|
config.vm.provider "hyperv"
|
||||||
config.vm.provider "hyperv" do |h|
|
config.vm.provider "hyperv" do |h|
|
||||||
h.enable_virtualization_extensions = false
|
h.enable_virtualization_extensions = false
|
||||||
h.linked_clone = true
|
h.linked_clone = true
|
||||||
h.memory = 2048
|
h.memory = 2048
|
||||||
h.vmname = "ubuntu_docker_1"
|
h.vmname = "ubuntu_docker_1"
|
||||||
end
|
end
|
||||||
|
|
||||||
config.vm.provision "ansible" do |a|
|
config.vm.provision "ansible" do |a|
|
||||||
a.verbose = "v"
|
a.verbose = "v"
|
||||||
a.playbook = "playbook.yaml"
|
a.playbook = "playbook.yaml"
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
@ -1,20 +1,20 @@
|
|||||||
# -*- mode: ruby -*-
|
# -*- mode: ruby -*-
|
||||||
# vi: set ft=ruby :
|
# vi: set ft=ruby :
|
||||||
|
|
||||||
Vagrant.configure("2") do |config|
|
Vagrant.configure("2") do |config|
|
||||||
config.vm.box = "generic/ubuntu2004"
|
config.vm.box = "generic/ubuntu2004"
|
||||||
config.vm.network "public_network"
|
config.vm.network "public_network"
|
||||||
config.vm.synced_folder ".", "/vagrant_data", disabled: true
|
config.vm.synced_folder ".", "/vagrant_data", disabled: true
|
||||||
config.vm.provider "hyperv"
|
config.vm.provider "hyperv"
|
||||||
config.vm.provider "hyperv" do |h|
|
config.vm.provider "hyperv" do |h|
|
||||||
h.enable_virtualization_extensions = false
|
h.enable_virtualization_extensions = false
|
||||||
h.linked_clone = true
|
h.linked_clone = true
|
||||||
h.memory = 2048
|
h.memory = 2048
|
||||||
h.vmname = "ubuntu_plain_1"
|
h.vmname = "ubuntu_plain_1"
|
||||||
end
|
end
|
||||||
|
|
||||||
config.vm.provision "ansible" do |a|
|
config.vm.provision "ansible" do |a|
|
||||||
a.verbose = "v"
|
a.verbose = "v"
|
||||||
a.playbook = "playbook.yaml"
|
a.playbook = "playbook.yaml"
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
@ -1,22 +1,22 @@
|
|||||||
# -*- mode: ruby -*-
|
# -*- mode: ruby -*-
|
||||||
# vi: set ft=ruby :
|
# vi: set ft=ruby :
|
||||||
|
|
||||||
Vagrant.configure("2") do |config|
|
Vagrant.configure("2") do |config|
|
||||||
config.vm.box = "generic/ubuntu2004"
|
config.vm.box = "generic/ubuntu2004"
|
||||||
config.vm.network "public_network", bridge: "BRIDGE"
|
config.vm.network "public_network", bridge: "BRIDGE"
|
||||||
config.vm.synced_folder ".", "/vagrant_data", disabled: true
|
config.vm.synced_folder ".", "/vagrant_data", disabled: true
|
||||||
config.vm.provider "hyperv"
|
config.vm.provider "hyperv"
|
||||||
config.vm.hostname = "ubuntu_plan-with-cockpit-1"
|
config.vm.hostname = "ubuntu_plan-with-cockpit-1"
|
||||||
|
|
||||||
config.vm.provider "hyperv" do |h|
|
config.vm.provider "hyperv" do |h|
|
||||||
h.enable_virtualization_extensions = false
|
h.enable_virtualization_extensions = false
|
||||||
h.linked_clone = true
|
h.linked_clone = true
|
||||||
h.memory = 2048
|
h.memory = 2048
|
||||||
h.vmname = "ubuntu_plan-with-cockpit-1"
|
h.vmname = "ubuntu_plan-with-cockpit-1"
|
||||||
end
|
end
|
||||||
|
|
||||||
config.vm.provision "ansible" do |a|
|
config.vm.provision "ansible" do |a|
|
||||||
a.verbose = "v"
|
a.verbose = "v"
|
||||||
a.playbook = "playbook.yaml"
|
a.playbook = "playbook.yaml"
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
30
vagrant/hyperv/ubuntu/plain/Vagrantfile
vendored
30
vagrant/hyperv/ubuntu/plain/Vagrantfile
vendored
@ -1,15 +1,15 @@
|
|||||||
# -*- mode: ruby -*-
|
# -*- mode: ruby -*-
|
||||||
# vi: set ft=ruby :
|
# vi: set ft=ruby :
|
||||||
|
|
||||||
Vagrant.configure("2") do |config|
|
Vagrant.configure("2") do |config|
|
||||||
config.vm.box = "generic/ubuntu2004"
|
config.vm.box = "generic/ubuntu2004"
|
||||||
config.vm.network "public_network"
|
config.vm.network "public_network"
|
||||||
config.vm.synced_folder ".", "/vagrant_data", disabled: true
|
config.vm.synced_folder ".", "/vagrant_data", disabled: true
|
||||||
config.vm.provider "hyperv"
|
config.vm.provider "hyperv"
|
||||||
config.vm.provider "hyperv" do |h|
|
config.vm.provider "hyperv" do |h|
|
||||||
h.enable_virtualization_extensions = false
|
h.enable_virtualization_extensions = false
|
||||||
h.linked_clone = true
|
h.linked_clone = true
|
||||||
h.memory = 2048
|
h.memory = 2048
|
||||||
h.vmname = "ubuntu_plain_1"
|
h.vmname = "ubuntu_plain_1"
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user