Compare commits

9 Commits

Author SHA1 Message Date
Johannes Lanzinger
df21e8921b update maybe working 2025-12-17 12:12:52 +01:00
sotos
7f100d85d1 update
Some checks failed
CI/CD Pipeline / lint (push) Has been cancelled
CI/CD Pipeline / deploy (push) Successful in 1m15s
2025-12-17 11:35:01 +01:00
sotos
6931df8463 Update
Some checks failed
CI/CD Pipeline / lint (push) Failing after 18s
CI/CD Pipeline / deploy (push) Failing after 39s
2025-12-17 11:32:59 +01:00
sotos
a339ad8d9c update
Some checks failed
CI/CD Pipeline / lint (push) Failing after 18s
CI/CD Pipeline / deploy (push) Failing after 56s
2025-12-17 11:28:21 +01:00
sotos
a975f69891 Update
Some checks failed
CI/CD Pipeline / lint (push) Failing after 18s
CI/CD Pipeline / deploy (push) Failing after 1m23s
2025-12-17 11:13:38 +01:00
sotos
fa8afa87e5 Merge branch 'main' of https://dns.s-martika.com/smartika/Wordpress-Ansible
Some checks failed
CI/CD Pipeline / lint (push) Failing after 19s
CI/CD Pipeline / deploy (push) Failing after 47s
2025-12-17 11:03:39 +01:00
sotos
46582b611d Update 2025-12-17 11:03:08 +01:00
Robert Ose
ddcc2ace6a Merge branch 'main' of https://dns.s-martika.com/smartika/Wordpress-Ansible
Some checks failed
CI/CD Pipeline / lint (push) Failing after 17s
CI/CD Pipeline / deploy (push) Failing after 1m2s
2025-12-17 10:54:08 +01:00
Robert Ose
dc23f3ac69 update 2025-12-17 10:53:59 +01:00
12 changed files with 2106 additions and 30 deletions

View File

@@ -1,4 +1,3 @@
---
- hosts: all - hosts: all
become: true become: true
vars: vars:
@@ -6,4 +5,4 @@
snake_image: dns.s-martika.com/smartika/snake-game:2.0 snake_image: dns.s-martika.com/smartika/snake-game:2.0
roles: roles:
- docker/snake - role: docker/snake

View File

@@ -3,7 +3,7 @@
gitea_user: smartika gitea_user: smartika
gitea_token: "idNu783r4ub7ZXi" gitea_token: "idNu783r4ub7ZXi"
snake_image: dns.s-martika.com/smartika/snake-game snake_image: dns.s-martika.com/smartika/snake-game:2.0
snake_tag: "1.0" app_dir: /opt/docker/snake
snake_container_name: snake-game snake_container_name: snake-game
snake_port: 8080 snake_port: 8080

View File

@@ -2,7 +2,7 @@
version: "3.8" version: "3.8"
services: services:
snake: snake:
image: dns.s-martika.com/smartika/snake-game:1.0 image: dns.s-martika.com/smartika/snake-game:2.0
container_name: snake-game777 container_name: snake-game777
restart: unless-stopped restart: unless-stopped
ports: ports:

View File

@@ -1,9 +1,12 @@
--- ---
# Ensure app directory exists
- name: Create app directory - name: Ensure app directory exists
file: file:
path: "{{ app_dir }}" path: "{{ app_dir }}"
state: directory state: directory
owner: root
group: root
mode: '0755'
# Login to private registry # Login to private registry
- name: Login to private registry - name: Login to private registry
@@ -28,3 +31,6 @@
ports: ports:
- "8080:80" # host port → container port - "8080:80" # host port → container port
pull: yes pull: yes

View File

@@ -11,6 +11,18 @@ services:
- snake_net - snake_net
restart: unless-stopped restart: unless-stopped
nginx-prometheus-exporter:
image: nginx/nginx-prometheus-exporter:latest
container_name: nginx-prometheus-exporter
ports:
- "9113:9113"
environment:
- NGINX_STATUS_URL=http://nginx:8080/metrics
networks:
- snake_net
grafana: grafana:
image: grafana/grafana:latest image: grafana/grafana:latest
volumes: volumes:

File diff suppressed because it is too large Load Diff

View File

@@ -1,10 +0,0 @@
---
apiVersion: 1
providers:
- name: 'default'
folder: 'Home'
type: file
editable: true
options:
path: /var/lib/grafana/dashboards

View File

@@ -1,9 +0,0 @@
---
apiVersion: 1
datasources:
- name: Prometheus
type: prometheus
access: proxy
url: http://prometheus:9090
isDefault: true

View File

@@ -6,3 +6,7 @@ scrape_configs:
- job_name: "prometheus" - job_name: "prometheus"
static_configs: static_configs:
- targets: ["localhost:9090"] - targets: ["localhost:9090"]
- job_name: 'nginx'
static_configs:
- targets: ['nginx-prometheus-exporter:9113']