mirror of
https://github.com/ChristianLempa/boilerplates.git
synced 2024-11-22 00:03:16 +01:00
Merge branch 'main' into fix_issue_137
This commit is contained in:
commit
d24dfac89f
@ -16,4 +16,4 @@
|
|||||||
systemd:
|
systemd:
|
||||||
state: restarted
|
state: restarted
|
||||||
daemon_reload: yes
|
daemon_reload: yes
|
||||||
name: fail2ban
|
name: fail2ban
|
||||||
|
@ -14,4 +14,4 @@
|
|||||||
state: present
|
state: present
|
||||||
regexp: '^%sudo'
|
regexp: '^%sudo'
|
||||||
line: '%sudo ALL=(ALL) NOPASSWD: ALL'
|
line: '%sudo ALL=(ALL) NOPASSWD: ALL'
|
||||||
validate: /usr/sbin/visudo -cf %s
|
validate: /usr/sbin/visudo -cf %s
|
||||||
|
@ -16,4 +16,4 @@
|
|||||||
volumes:
|
volumes:
|
||||||
- /var/run/docker.sock:/var/run/docker.sock
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
- portainer-data:/data
|
- portainer-data:/data
|
||||||
restart_policy: unless-stopped
|
restart_policy: unless-stopped
|
||||||
|
@ -14,4 +14,4 @@
|
|||||||
volumes:
|
volumes:
|
||||||
- /var/run/docker.sock:/var/run/docker.sock
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
- /etc/traefik:/etc/traefik
|
- /etc/traefik:/etc/traefik
|
||||||
restart_policy: unless-stopped
|
restart_policy: unless-stopped
|
||||||
|
@ -31,4 +31,4 @@
|
|||||||
- docker-buildx-plugin
|
- docker-buildx-plugin
|
||||||
- docker-scan-plugin
|
- docker-scan-plugin
|
||||||
- docker-compose-plugin
|
- docker-compose-plugin
|
||||||
update_cache: yes
|
update_cache: yes
|
||||||
|
@ -1,2 +1,2 @@
|
|||||||
[defaults]
|
[defaults]
|
||||||
timeout = 25
|
timeout = 25
|
||||||
|
@ -1 +1 @@
|
|||||||
{{ join_output.stdout }}
|
{{ join_output.stdout }}
|
||||||
|
@ -8,4 +8,4 @@
|
|||||||
name: zsh
|
name: zsh
|
||||||
state: present
|
state: present
|
||||||
update_cache: true
|
update_cache: true
|
||||||
become: true
|
become: true
|
||||||
|
@ -10,4 +10,4 @@
|
|||||||
dangling: false
|
dangling: false
|
||||||
networks: false
|
networks: false
|
||||||
volumes: false
|
volumes: false
|
||||||
builder_cache: false
|
builder_cache: false
|
||||||
|
@ -10,4 +10,4 @@
|
|||||||
register: reboot_required
|
register: reboot_required
|
||||||
- debug:
|
- debug:
|
||||||
msg: "Reboot is required"
|
msg: "Reboot is required"
|
||||||
when: reboot_required.stat.exists
|
when: reboot_required.stat.exists
|
||||||
|
@ -5,4 +5,4 @@
|
|||||||
tasks:
|
tasks:
|
||||||
- name: reboot machine
|
- name: reboot machine
|
||||||
reboot:
|
reboot:
|
||||||
reboot_timeout: 3600
|
reboot_timeout: 3600
|
||||||
|
@ -11,4 +11,4 @@
|
|||||||
headers:
|
headers:
|
||||||
Content-Type: application/json
|
Content-Type: application/json
|
||||||
status_code: 204
|
status_code: 204
|
||||||
# when: your-condition
|
# when: your-condition
|
||||||
|
@ -0,0 +1 @@
|
|||||||
|
|
@ -23,4 +23,4 @@
|
|||||||
yum:
|
yum:
|
||||||
name: '*'
|
name: '*'
|
||||||
state: latest
|
state: latest
|
||||||
exclude: kernel*
|
exclude: kernel*
|
||||||
|
@ -16,7 +16,7 @@ services:
|
|||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
semaphore:
|
semaphore:
|
||||||
container_name: ansiblesemaphore
|
container_name: ansiblesemaphore
|
||||||
image: semaphoreui/semaphore:v2.8.90
|
image: semaphoreui/semaphore:v2.9.45
|
||||||
user: "${UID}:${GID}"
|
user: "${UID}:${GID}"
|
||||||
ports:
|
ports:
|
||||||
- 3000:3000
|
- 3000:3000
|
||||||
@ -40,4 +40,4 @@ services:
|
|||||||
- ./config/:/etc/semaphore:rw
|
- ./config/:/etc/semaphore:rw
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
depends_on:
|
depends_on:
|
||||||
- mysql
|
- mysql
|
||||||
|
@ -0,0 +1 @@
|
|||||||
|
|
@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
services:
|
services:
|
||||||
bind9:
|
bind9:
|
||||||
image: ubuntu/bind9:latest
|
image: ubuntu/bind9:9.18-23.10_edge
|
||||||
container_name: bind9
|
container_name: bind9
|
||||||
ports:
|
ports:
|
||||||
- "53:53"
|
- "53:53"
|
||||||
@ -9,4 +9,4 @@ services:
|
|||||||
- /etc/bind/:/etc/bind/
|
- /etc/bind/:/etc/bind/
|
||||||
- /var/cache/bind:/var/cache/bind
|
- /var/cache/bind:/var/cache/bind
|
||||||
- /var/lib/bind:/var/lib/bind
|
- /var/lib/bind:/var/lib/bind
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
@ -13,4 +13,4 @@ services:
|
|||||||
- /:/source
|
- /:/source
|
||||||
ports:
|
ports:
|
||||||
- 8200:8200
|
- 8200:8200
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
@ -0,0 +1 @@
|
|||||||
|
|
@ -2,7 +2,7 @@
|
|||||||
services:
|
services:
|
||||||
refactr-runner:
|
refactr-runner:
|
||||||
container_name: factory-runnerpool-prod-1
|
container_name: factory-runnerpool-prod-1
|
||||||
image: refactr/runner-pool
|
image: refactr/runner-pool:v0.144.0
|
||||||
user: root
|
user: root
|
||||||
volumes:
|
volumes:
|
||||||
- /var/run/docker.sock:/var/run/docker.sock
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
|
@ -4,10 +4,10 @@ volumes:
|
|||||||
driver: local
|
driver: local
|
||||||
services:
|
services:
|
||||||
grafana:
|
grafana:
|
||||||
image: grafana/grafana-oss:latest
|
image: grafana/grafana-oss:10.3.3
|
||||||
container_name: grafana
|
container_name: grafana
|
||||||
ports:
|
ports:
|
||||||
- "3000:3000"
|
- "3000:3000"
|
||||||
volumes:
|
volumes:
|
||||||
- grafana-data:/var/lib/grafana
|
- grafana-data:/var/lib/grafana
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
@ -11,4 +11,4 @@ services:
|
|||||||
ports:
|
ports:
|
||||||
- 80:80
|
- 80:80
|
||||||
- 443:443
|
- 443:443
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
@ -9,4 +9,4 @@ services:
|
|||||||
# devices:
|
# devices:
|
||||||
# - /dev/ttyACMO # (optional) Add serial devices to the container
|
# - /dev/ttyACMO # (optional) Add serial devices to the container
|
||||||
privileged: true
|
privileged: true
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
@ -79,4 +79,4 @@ services:
|
|||||||
logo: "assets/tools/sample2.png"
|
logo: "assets/tools/sample2.png"
|
||||||
subtitle: "Another application"
|
subtitle: "Another application"
|
||||||
tag: "app"
|
tag: "app"
|
||||||
url: "#"
|
url: "#"
|
||||||
|
@ -5,4 +5,4 @@
|
|||||||
body #app .card.green {
|
body #app .card.green {
|
||||||
background-color: #006600;
|
background-color: #006600;
|
||||||
color: #00ff00;
|
color: #00ff00;
|
||||||
}
|
}
|
||||||
|
@ -61,4 +61,4 @@ services:
|
|||||||
logo: "assets/tools/pingdom.png"
|
logo: "assets/tools/pingdom.png"
|
||||||
subtitle: "Pingdom public reports overview"
|
subtitle: "Pingdom public reports overview"
|
||||||
tag: "CI"
|
tag: "CI"
|
||||||
url: "https://www.pingdom.com/"
|
url: "https://www.pingdom.com/"
|
||||||
|
@ -7,4 +7,4 @@ services:
|
|||||||
- "8080:8080"
|
- "8080:8080"
|
||||||
volumes:
|
volumes:
|
||||||
- /etc/homer/assets/:/www/assets
|
- /etc/homer/assets/:/www/assets
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
@ -27,4 +27,4 @@ services:
|
|||||||
- MYSQL_PASSWORD=$MYSQL_PASSWORD
|
- MYSQL_PASSWORD=$MYSQL_PASSWORD
|
||||||
- MYSQL_DATABASE=$MYSQL_DATABASE
|
- MYSQL_DATABASE=$MYSQL_DATABASE
|
||||||
- MYSQL_USER=$MYSQL_USER
|
- MYSQL_USER=$MYSQL_USER
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
@ -27,4 +27,4 @@ services:
|
|||||||
- MYSQL_USER=npm
|
- MYSQL_USER=npm
|
||||||
- MYSQL_PASSWORD=npm
|
- MYSQL_PASSWORD=npm
|
||||||
volumes:
|
volumes:
|
||||||
- nginxproxymanager-db:/var/lib/mysql
|
- nginxproxymanager-db:/var/lib/mysql
|
||||||
|
@ -7,4 +7,4 @@ services:
|
|||||||
pid: host
|
pid: host
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
volumes:
|
volumes:
|
||||||
- /:/host:ro,rslave
|
- /:/host:ro,rslave
|
||||||
|
@ -11,4 +11,4 @@ services:
|
|||||||
- NVIDIA_DRIVER_CAPABILITIES=all
|
- NVIDIA_DRIVER_CAPABILITIES=all
|
||||||
ports:
|
ports:
|
||||||
- 9400:9400
|
- 9400:9400
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
@ -13,4 +13,4 @@ services:
|
|||||||
- /usr/bin/nvidia-smi:/usr/bin/nvidia-smi
|
- /usr/bin/nvidia-smi:/usr/bin/nvidia-smi
|
||||||
- /usr/lib/x86_64-linux-gnu/libnvidia-ml.so:/usr/lib/x86_64-linux-gnu/libnvidia-ml.so
|
- /usr/lib/x86_64-linux-gnu/libnvidia-ml.so:/usr/lib/x86_64-linux-gnu/libnvidia-ml.so
|
||||||
- /usr/lib/x86_64-linux-gnu/libnvidia-ml.so.1:/usr/lib/x86_64-linux-gnu/libnvidia-ml.so.1
|
- /usr/lib/x86_64-linux-gnu/libnvidia-ml.so.1:/usr/lib/x86_64-linux-gnu/libnvidia-ml.so.1
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
@ -36,4 +36,4 @@ services:
|
|||||||
- passbolt-data-gpg:/etc/passbolt/gpg
|
- passbolt-data-gpg:/etc/passbolt/gpg
|
||||||
- passbolt-data-jwt:/etc/passbolt/jwt
|
- passbolt-data-jwt:/etc/passbolt/jwt
|
||||||
command: ["/usr/bin/wait-for.sh", "-t", "0", "passbolt-db:3306", "--", "/docker-entrypoint.sh"]
|
command: ["/usr/bin/wait-for.sh", "-t", "0", "passbolt-db:3306", "--", "/docker-entrypoint.sh"]
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
@ -16,4 +16,4 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- etcd:/etc/pihole
|
- etcd:/etc/pihole
|
||||||
- dnsmasq:/etc/dnsmasq.d
|
- dnsmasq:/etc/dnsmasq.d
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
@ -12,4 +12,4 @@ services:
|
|||||||
- /var/lib/docker/volumes:/var/lib/docker/volumes
|
- /var/lib/docker/volumes:/var/lib/docker/volumes
|
||||||
networks:
|
networks:
|
||||||
- portainer-agent_default
|
- portainer-agent_default
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
@ -13,4 +13,4 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- /var/run/docker.sock:/var/run/docker.sock
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
- portainer-data:/data
|
- portainer-data:/data
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
@ -4,7 +4,7 @@ volumes:
|
|||||||
driver: local
|
driver: local
|
||||||
services:
|
services:
|
||||||
prometheus:
|
prometheus:
|
||||||
image: prom/prometheus:v2.37.9
|
image: prom/prometheus:v2.50.0
|
||||||
container_name: prometheus
|
container_name: prometheus
|
||||||
ports:
|
ports:
|
||||||
- 9090:9090
|
- 9090:9090
|
||||||
|
@ -33,4 +33,4 @@ services:
|
|||||||
- 80:80 # optional
|
- 80:80 # optional
|
||||||
depends_on:
|
depends_on:
|
||||||
- mariadb
|
- mariadb
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
@ -51,4 +51,4 @@ app_service:
|
|||||||
# apps:
|
# apps:
|
||||||
# - name: "yourapp"
|
# - name: "yourapp"
|
||||||
# uri: "http://your-app-url"
|
# uri: "http://your-app-url"
|
||||||
# insecure_skip_verify: false
|
# insecure_skip_verify: false
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
# external: true
|
# external: true
|
||||||
services:
|
services:
|
||||||
traefik:
|
traefik:
|
||||||
image: traefik:v2.10.5
|
image: traefik:v2.11.0
|
||||||
container_name: traefik
|
container_name: traefik
|
||||||
ports:
|
ports:
|
||||||
- 80:80
|
- 80:80
|
||||||
|
@ -23,4 +23,4 @@ jobs:
|
|||||||
key: ${{ secrets.your-private-ssh-key }}
|
key: ${{ secrets.your-private-ssh-key }}
|
||||||
source: './config/*'
|
source: './config/*'
|
||||||
target: '/target/path/'
|
target: '/target/path/'
|
||||||
strip_components: 1 # remove the top level directory
|
strip_components: 1 # remove the top level directory
|
||||||
|
@ -513,4 +513,4 @@ startupapicheck:
|
|||||||
helm.sh/hook-delete-policy: before-hook-creation,hook-succeeded
|
helm.sh/hook-delete-policy: before-hook-creation,hook-succeeded
|
||||||
|
|
||||||
# Automount API credentials for a Service Account.
|
# Automount API credentials for a Service Account.
|
||||||
automountServiceAccountToken: true
|
automountServiceAccountToken: true
|
||||||
|
@ -9,4 +9,4 @@ spec:
|
|||||||
name: ssl-issuer
|
name: ssl-issuer
|
||||||
kind: ClusterIssuer
|
kind: ClusterIssuer
|
||||||
dnsNames:
|
dnsNames:
|
||||||
- your-hostname
|
- your-hostname
|
||||||
|
@ -3,4 +3,4 @@ kind: ClusterIssuer
|
|||||||
metadata:
|
metadata:
|
||||||
name: selfsigned-issuer
|
name: selfsigned-issuer
|
||||||
spec:
|
spec:
|
||||||
selfSigned: {}
|
selfSigned: {}
|
||||||
|
@ -6,4 +6,4 @@ metadata:
|
|||||||
# ---
|
# ---
|
||||||
# namespace: your-namespace
|
# namespace: your-namespace
|
||||||
spec:
|
spec:
|
||||||
selfSigned: {}
|
selfSigned: {}
|
||||||
|
@ -11,4 +11,4 @@ stringData:
|
|||||||
# api-key: your-api-key
|
# api-key: your-api-key
|
||||||
# - or -
|
# - or -
|
||||||
# Token:
|
# Token:
|
||||||
# api-token: your-api-token
|
# api-token: your-api-token
|
||||||
|
@ -25,4 +25,4 @@ data:
|
|||||||
return 401;
|
return 401;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -29,4 +29,4 @@ spec:
|
|||||||
name: nginx-http-cm
|
name: nginx-http-cm
|
||||||
- name: nginx-http-vol
|
- name: nginx-http-vol
|
||||||
hostPath:
|
hostPath:
|
||||||
path: /var/nginxserver
|
path: /var/nginxserver
|
||||||
|
@ -12,4 +12,4 @@ spec:
|
|||||||
protocol: TCP
|
protocol: TCP
|
||||||
name: http
|
name: http
|
||||||
selector:
|
selector:
|
||||||
app: nginx-http
|
app: nginx-http
|
||||||
|
@ -14,4 +14,4 @@ spec:
|
|||||||
service:
|
service:
|
||||||
name: portainer
|
name: portainer
|
||||||
port:
|
port:
|
||||||
number: 9000
|
number: 9000
|
||||||
|
@ -0,0 +1 @@
|
|||||||
|
|
@ -9,4 +9,4 @@ spec:
|
|||||||
name: ssl-issuer
|
name: ssl-issuer
|
||||||
kind: ClusterIssuer
|
kind: ClusterIssuer
|
||||||
dnsNames:
|
dnsNames:
|
||||||
- your-hostname
|
- your-hostname
|
||||||
|
@ -30,4 +30,4 @@ spec:
|
|||||||
# volumes:
|
# volumes:
|
||||||
# - name: mysql-vol
|
# - name: mysql-vol
|
||||||
# hostPath:
|
# hostPath:
|
||||||
# path: /var/mysql-data
|
# path: /var/mysql-data
|
||||||
|
@ -4,4 +4,4 @@ metadata:
|
|||||||
name: mysql-secret
|
name: mysql-secret
|
||||||
type: Opaque
|
type: Opaque
|
||||||
stringData:
|
stringData:
|
||||||
root-pass: test123
|
root-pass: test123
|
||||||
|
@ -25,4 +25,4 @@ data:
|
|||||||
return 401;
|
return 401;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -29,4 +29,4 @@ spec:
|
|||||||
name: nginx-http-cm
|
name: nginx-http-cm
|
||||||
- name: nginx-http-vol
|
- name: nginx-http-vol
|
||||||
hostPath:
|
hostPath:
|
||||||
path: /var/nginxserver
|
path: /var/nginxserver
|
||||||
|
@ -12,4 +12,4 @@ spec:
|
|||||||
protocol: TCP
|
protocol: TCP
|
||||||
name: http
|
name: http
|
||||||
selector:
|
selector:
|
||||||
app: nginx-http
|
app: nginx-http
|
||||||
|
@ -9,4 +9,4 @@ stringData:
|
|||||||
...
|
...
|
||||||
-----END CERTIFICATE-----
|
-----END CERTIFICATE-----
|
||||||
server-key.pem: |
|
server-key.pem: |
|
||||||
|
|
||||||
|
@ -16,4 +16,4 @@ spec:
|
|||||||
protocol: TCP
|
protocol: TCP
|
||||||
name: https
|
name: https
|
||||||
selector:
|
selector:
|
||||||
app: nginx-https
|
app: nginx-https
|
||||||
|
@ -15,4 +15,4 @@ spec:
|
|||||||
service:
|
service:
|
||||||
name: your-service-name # The name of the service
|
name: your-service-name # The name of the service
|
||||||
port:
|
port:
|
||||||
number: 80 # Service Portnumber
|
number: 80 # Service Portnumber
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: Namespace
|
kind: Namespace
|
||||||
metadata:
|
metadata:
|
||||||
name: your-namespace
|
name: your-namespace
|
||||||
|
@ -8,4 +8,4 @@ spec:
|
|||||||
storageClassName: civo-volume
|
storageClassName: civo-volume
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
storage: 1Gi
|
storage: 1Gi
|
||||||
|
@ -24,4 +24,4 @@ spec:
|
|||||||
volumes:
|
volumes:
|
||||||
- name: civo
|
- name: civo
|
||||||
persistentVolumeClaim:
|
persistentVolumeClaim:
|
||||||
claimName: civo
|
claimName: civo
|
||||||
|
@ -24,4 +24,4 @@ spec:
|
|||||||
volumes:
|
volumes:
|
||||||
- name: local
|
- name: local
|
||||||
hostPath:
|
hostPath:
|
||||||
path: /var/nginxserver
|
path: /var/nginxserver
|
||||||
|
@ -10,4 +10,4 @@ spec:
|
|||||||
storageClassName: nfs
|
storageClassName: nfs
|
||||||
nfs:
|
nfs:
|
||||||
server: 192.168.1.7
|
server: 192.168.1.7
|
||||||
path: "/srv/nfs"
|
path: "/srv/nfs"
|
||||||
|
@ -8,4 +8,4 @@ spec:
|
|||||||
storageClassName: nfs
|
storageClassName: nfs
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
storage: 100Mi
|
storage: 100Mi
|
||||||
|
@ -29,4 +29,4 @@ spec:
|
|||||||
# - name: http
|
# - name: http
|
||||||
# port: 80
|
# port: 80
|
||||||
# targetPort: 30001
|
# targetPort: 30001
|
||||||
# protocol: TCP # optional protocol
|
# protocol: TCP # optional protocol
|
||||||
|
@ -32,4 +32,4 @@ spec:
|
|||||||
# - hosts:
|
# - hosts:
|
||||||
# - your-hostname.com # Your hostname
|
# - your-hostname.com # Your hostname
|
||||||
# secretName: your-secret # Your TLS Secret
|
# secretName: your-secret # Your TLS Secret
|
||||||
# ---
|
# ---
|
||||||
|
@ -18,4 +18,4 @@ spec:
|
|||||||
# (Optional) TLS Passthrough
|
# (Optional) TLS Passthrough
|
||||||
# tls:
|
# tls:
|
||||||
# passthrough: true
|
# passthrough: true
|
||||||
# ---
|
# ---
|
||||||
|
@ -1 +1 @@
|
|||||||
datasource_list: [ConfigDrive, NoCloud]
|
datasource_list: [ConfigDrive, NoCloud]
|
||||||
|
@ -1 +1 @@
|
|||||||
datasource_list: [ConfigDrive, NoCloud]
|
datasource_list: [ConfigDrive, NoCloud]
|
||||||
|
@ -0,0 +1 @@
|
|||||||
|
|
@ -1 +1 @@
|
|||||||
datasource_list: [ConfigDrive, NoCloud]
|
datasource_list: [ConfigDrive, NoCloud]
|
||||||
|
@ -1 +1 @@
|
|||||||
datasource_list: [ConfigDrive, NoCloud]
|
datasource_list: [ConfigDrive, NoCloud]
|
||||||
|
@ -0,0 +1 @@
|
|||||||
|
|
@ -43,4 +43,4 @@ resource "helm_release" "traefik" {
|
|||||||
name = "tlsOptions.default.minVersion"
|
name = "tlsOptions.default.minVersion"
|
||||||
value = "VersionTLS12"
|
value = "VersionTLS12"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -4,4 +4,4 @@ resource "kubectl_manifest" "your-manifest-file" {
|
|||||||
# Put your Manifest-file Content right here...
|
# Put your Manifest-file Content right here...
|
||||||
# ...
|
# ...
|
||||||
YAML
|
YAML
|
||||||
}
|
}
|
||||||
|
@ -38,4 +38,4 @@ resource "kubernetes_deployment" "your-deployment" {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -36,4 +36,4 @@ resource "kubernetes_ingress_v1" "your-ingress" {
|
|||||||
# hosts = ["your-domain"]
|
# hosts = ["your-domain"]
|
||||||
# }
|
# }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -12,4 +12,4 @@ resource "kubernetes_secret" "cloudflare_api_key_secret" {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type = "Opaque"
|
type = "Opaque"
|
||||||
}
|
}
|
||||||
|
@ -16,4 +16,4 @@ resource "kubernetes_service" "your-service" {
|
|||||||
|
|
||||||
type = "ClusterIP"
|
type = "ClusterIP"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
proxmox_api_url = "https://0.0.0.0:8006/api2/json" # Your Proxmox IP Address
|
proxmox_api_url = "https://0.0.0.0:8006/api2/json" # Your Proxmox IP Address
|
||||||
proxmox_api_token_id = "terraform@pam!terraform" # API Token ID
|
proxmox_api_token_id = "terraform@pam!terraform" # API Token ID
|
||||||
proxmox_api_token_secret = "your-api-token-secret"
|
proxmox_api_token_secret = "your-api-token-secret"
|
||||||
|
@ -46,4 +46,4 @@ resource "proxmox_vm_qemu" "your-vm" {
|
|||||||
# sshkeys = <<EOF
|
# sshkeys = <<EOF
|
||||||
# #YOUR-PUBLIC-SSH-KEY
|
# #YOUR-PUBLIC-SSH-KEY
|
||||||
# EOF
|
# EOF
|
||||||
}
|
}
|
||||||
|
@ -12,4 +12,4 @@ resource "civo_instance" "server" {
|
|||||||
# notes = "this is a note for the server"
|
# notes = "this is a note for the server"
|
||||||
# initial_user = "user"
|
# initial_user = "user"
|
||||||
# sshkey_id = data.civo_ssh_key.sshkey.id
|
# sshkey_id = data.civo_ssh_key.sshkey.id
|
||||||
}
|
}
|
||||||
|
@ -37,4 +37,4 @@ provider "civo" {
|
|||||||
token = var.civo_token
|
token = var.civo_token
|
||||||
# (optional) change the defaullt region
|
# (optional) change the defaullt region
|
||||||
# region = "FRA1"
|
# region = "FRA1"
|
||||||
}
|
}
|
||||||
|
@ -76,4 +76,4 @@ resource "time_sleep" "wait_for_clusterissuer" {
|
|||||||
]
|
]
|
||||||
|
|
||||||
create_duration = "30s"
|
create_duration = "30s"
|
||||||
}
|
}
|
||||||
|
@ -73,4 +73,4 @@ provider "kubectl" {
|
|||||||
provider "cloudflare" {
|
provider "cloudflare" {
|
||||||
email = var.cloudflare_email
|
email = var.cloudflare_email
|
||||||
api_key = var.cloudflare_api_key
|
api_key = var.cloudflare_api_key
|
||||||
}
|
}
|
||||||
|
@ -44,4 +44,4 @@ resource "helm_release" "traefik" {
|
|||||||
value = "true"
|
value = "true"
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -21,4 +21,4 @@ resource "docker_container" "nginx" {
|
|||||||
internal = 80
|
internal = 80
|
||||||
external = 8000
|
external = 8000
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -35,4 +35,4 @@ Vagrant.configure("2") do |config|
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user