Compare commits

...

13 Commits

Author SHA1 Message Date
a98a226099 build 2025-12-08 18:57:14 +01:00
f6536c0e6c build 2025-12-08 18:53:19 +01:00
b73b3dc929 build 2025-12-08 18:15:05 +01:00
4e8fe0a1a1 build 2025-12-08 18:14:12 +01:00
6484de18e8 build 2025-12-08 18:00:55 +01:00
a92d32e73b build 2025-12-08 16:51:22 +01:00
178f30e9f1 build 2025-12-08 16:49:06 +01:00
121abc76b0 build 2025-12-08 16:48:20 +01:00
62a3ba833f build 2025-12-08 16:47:44 +01:00
cd2dc573f4 build 2025-12-08 16:46:24 +01:00
7b6229bb39 build 2025-12-08 16:41:58 +01:00
f06bcd22a6 build 2025-12-08 16:41:10 +01:00
fa00fadccf build 2025-12-08 16:06:47 +01:00
8 changed files with 146 additions and 103 deletions

View File

@@ -1,5 +1,16 @@
services:
runner:
container_name: gitlab-runner
restart: always
volumes:
- runner:/etc/gitlab-runner
- /var/run/docker.sock:/var/run/docker.sock
image: ${DOCKER_REGISTRY:-}gitlab/gitlab-runner:latest
labels:
- wud.watch.digest=true
- wud.watch=true
web:
container_name: gitlab
environment:
GITLAB_OMNIBUS_CONFIG: "external_url 'https://gitlab.sectorq.eu'\nnginx['listen_port']\
@@ -47,8 +58,13 @@ services:
restart: unless-stopped
shm_size: 4gb
volumes:
- /share/docker_data/gitlab/config:/etc/gitlab
- /share/docker_data/gitlab/logs:/var/log/gitlab
- /share/docker_data/gitlab/data:/var/opt/gitlab
- config:/etc/gitlab
- logs:/var/log/gitlab
- data:/var/opt/gitlab
- /etc/localtime:/etc/localtime:ro
version: '3.6'
volumes:
runner:
config:
logs:
data:

View File

@@ -1,88 +1,98 @@
services:
app:
environment:
GITLAB_OMNIBUS_CONFIG: |
external_url 'https://gitlab.sectorq.eu'
nginx['listen_port'] = 80
nginx['listen_https'] = false
web_server['username'] = 'git'
gitlab_rails['time_zone'] = 'Europe/Bratislava'
gitlab_rails['omniauth_enabled'] = true
gitlab_rails['omniauth_allow_single_sign_on'] = ['saml']
gitlab_rails['omniauth_sync_email_from_provider'] = 'saml'
gitlab_rails['omniauth_sync_profile_from_provider'] = ['saml']
gitlab_rails['omniauth_sync_profile_attributes'] = ['email']
gitlab_rails['omniauth_auto_sign_in_with_provider'] = 'saml'
gitlab_rails['omniauth_block_auto_created_users'] = false
gitlab_rails['omniauth_auto_link_saml_user'] = true
gitlab_rails['omniauth_providers'] = [
{
name: 'saml',
args: {
assertion_consumer_service_url: 'https://gitlab.sectorq.eu/users/auth/saml/callback',
# Shown when navigating to certificates in authentik1
idp_cert_fingerprint: 'f7:fd:49:03:b3:38:52:b3:23:f5:43:c4:8d:08:65:32:e0:5a:7b:0e',
idp_sso_target_url: 'https://auth.sectorq.eu/application/saml/gitlab/sso/binding/redirect/',
issuer: 'https://gitlab.sectorq.eu',
name_identifier_format: 'urn:oasis:names:tc:SAML:2.0:nameid-format:persistent',
attribute_statements: {
email: ['http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress'],
first_name: ['http://schemas.xmlsoap.org/ws/2005/05/identity/claims/name'],
nickname: ['http://schemas.goauthentik.io/2021/02/saml/username']
}
},
label: 'authentik'
}
]
TZ: Europe/Bratislava
hostname: gitlab.sectorq.eu
image: ${DOCKER_REGISTRY:-}gitlab/gitlab-ce:latest
network_mode: bridge
ports:
- target: 80
published: 8785
protocol: tcp
mode: ingress
- target: 443
published: 8743
protocol: tcp
mode: ingress
- target: 22
published: 8722
protocol: tcp
mode: ingress
shm_size: 4gb
volumes:
- config:/etc/gitlab
- logs:/var/log/gitlab
- data:/var/opt/gitlab
- /etc/localtime:/etc/localtime:ro
deploy:
services:
runner:
container_name: gitlab-runner
restart: always
volumes:
- runner:/etc/gitlab-runner
- /var/run/docker.sock:/var/run/docker.sock
image: ${DOCKER_REGISTRY:-}gitlab/gitlab-runner:latest
labels:
com.centurylinklabs.watchtower.enable: 'true'
homepage.container: gitlab
homepage.description: Version control
homepage.group: Infrastructure
homepage.href: https://gitlab.sectorq.eu
homepage.icon: gitlab.png
homepage.name: Gitlab
homepage.server: my-docker-swarm
homepage.weight: '1'
homepage.widget.key: glpat-BuMKcaDqeD-Wx3dW4TM9
homepage.widget.type: gitlab
homepage.widget.url: https://gitlab.sectorq.eu
homepage.widget.user_id: '2'
wud.watch: 'true'
wud.watch.digest: 'true'
replicas: 1
placement:
constraints:
- node.role == manager
- wud.watch.digest=true
- wud.watch=true
app:
environment:
GITLAB_OMNIBUS_CONFIG: |
external_url 'https://gitlab.sectorq.eu'
nginx['listen_port'] = 80
nginx['listen_https'] = false
web_server['username'] = 'git'
gitlab_rails['time_zone'] = 'Europe/Bratislava'
gitlab_rails['omniauth_enabled'] = true
gitlab_rails['omniauth_allow_single_sign_on'] = ['saml']
gitlab_rails['omniauth_sync_email_from_provider'] = 'saml'
gitlab_rails['omniauth_sync_profile_from_provider'] = ['saml']
gitlab_rails['omniauth_sync_profile_attributes'] = ['email']
gitlab_rails['omniauth_auto_sign_in_with_provider'] = 'saml'
gitlab_rails['omniauth_block_auto_created_users'] = false
gitlab_rails['omniauth_auto_link_saml_user'] = true
gitlab_rails['omniauth_providers'] = [
{
name: 'saml',
args: {
assertion_consumer_service_url: 'https://gitlab.sectorq.eu/users/auth/saml/callback',
# Shown when navigating to certificates in authentik1
idp_cert_fingerprint: 'f7:fd:49:03:b3:38:52:b3:23:f5:43:c4:8d:08:65:32:e0:5a:7b:0e',
idp_sso_target_url: 'https://auth.sectorq.eu/application/saml/gitlab/sso/binding/redirect/',
issuer: 'https://gitlab.sectorq.eu',
name_identifier_format: 'urn:oasis:names:tc:SAML:2.0:nameid-format:persistent',
attribute_statements: {
email: ['http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress'],
first_name: ['http://schemas.xmlsoap.org/ws/2005/05/identity/claims/name'],
nickname: ['http://schemas.goauthentik.io/2021/02/saml/username']
}
},
label: 'authentik'
}
]
TZ: Europe/Bratislava
hostname: gitlab.sectorq.eu
image: ${DOCKER_REGISTRY:-}gitlab/gitlab-ce:latest
network_mode: bridge
ports:
- target: 80
published: 8785
protocol: tcp
mode: ingress
- target: 443
published: 8743
protocol: tcp
mode: ingress
- target: 22
published: 8722
protocol: tcp
mode: ingress
shm_size: 4gb
volumes:
- config:/etc/gitlab
- logs:/var/log/gitlab
- data:/var/opt/gitlab
- /etc/localtime:/etc/localtime:ro
deploy:
labels:
com.centurylinklabs.watchtower.enable: 'true'
homepage.container: gitlab
homepage.description: Version control
homepage.group: Infrastructure
homepage.href: https://gitlab.sectorq.eu
homepage.icon: gitlab.png
homepage.name: Gitlab
homepage.server: my-docker-swarm
homepage.weight: '1'
homepage.widget.key: glpat-BuMKcaDqeD-Wx3dW4TM9
homepage.widget.type: gitlab
homepage.widget.url: https://gitlab.sectorq.eu
homepage.widget.user_id: '2'
wud.watch: 'true'
wud.watch.digest: 'true'
replicas: 1
placement:
constraints:
- node.role == manager
volumes:
config:
driver: local
logs:
driver: local
data:
driver: local
volumes:
config:
driver: local
logs:
driver: local
data:
driver: local

View File

@@ -16,7 +16,6 @@ volumes:
radarr_config:
sonarr_config:
bazarr_config:
flaresolverr_config:
services:
bazarr:
@@ -42,7 +41,7 @@ services:
deploy:
labels:
com.centurylinklabs.watchtower.enable: 'true'
homepage.container: bazarr
homepage.container: mediacenter_bazarr
homepage.description: Subtitles
homepage.group: Media
homepage.href: https://bazarr.sectorq.eu
@@ -129,7 +128,7 @@ services:
deploy:
labels:
com.centurylinklabs.watchtower.enable: 'true'
homepage.container: jackett
homepage.container: mediacenter_jackett
homepage.description: Subtitles
homepage.group: Media
homepage.href: https://jackett.sectorq.eu
@@ -154,7 +153,7 @@ services:
JELLYFIN_PublishedServerUrl: https://jf.sectorq.eu
hostname: jellyfin
image: ${DOCKER_REGISTRY:-}lscr.io/linuxserver/jellyfin:latest
network_mode: host
ports:
- target: 8096
published: 8096
@@ -180,7 +179,7 @@ services:
deploy:
labels:
com.centurylinklabs.watchtower.enable: 'true'
homepage.container: jellyfin
homepage.container: mediacenter_jellyfin
homepage.description: Subtitles
homepage.group: Media
homepage.href: https://jf.sectorq.eu
@@ -197,6 +196,15 @@ services:
placement:
constraints:
- node.role == manager
resources:
reservations:
devices:
- driver: "runc"
capabilities: ["gpu"]
device_ids: ["/dev/dri/renderD128"]
- driver: "runc"
capabilities: ["gpu"]
device_ids: ["/dev/dri/card1"]
jellyseerr:
environment:
LOG_LEVEL: debug
@@ -215,7 +223,7 @@ services:
deploy:
labels:
com.centurylinklabs.watchtower.enabl: 'true'
homepage.container: jellyseerr
homepage.container: mediacenter_jellyseerr
homepage.description: Subtitles
homepage.group: Media
homepage.href: https://js.sectorq.eu
@@ -253,7 +261,7 @@ services:
deploy:
labels:
com.centurylinklabs.watchtower.enable: 'true'
homepage.container: lidarr
homepage.container: mediacenter_lidarr
homepage.description: Subtitles
homepage.group: Media
homepage.href: https://lidarr.sectorq.eu
@@ -296,7 +304,7 @@ services:
deploy:
labels:
com.centurylinklabs.watchtower.enable: 'true'
homepage.container: qbittorrent
homepage.container: mediacenter_qbittorrent
homepage.description: Subtitles
homepage.group: Utilities
homepage.href: https://qbit.sectorq.eu
@@ -339,7 +347,7 @@ services:
deploy:
labels:
com.centurylinklabs.watchtower.enable: 'true'
homepage.container: radarr
homepage.container: mediacenter_radarr
homepage.description: Subtitles
homepage.group: Media
homepage.href: https://radarr.sectorq.eu
@@ -381,7 +389,7 @@ services:
deploy:
labels:
com.centurylinklabs.watchtower.enable: 'true'
homepage.container: sonarr
homepage.container: mediacenter_sonarr
homepage.description: Subtitles
homepage.group: Media
homepage.href: https://sonarr.sectorq.eu

View File

@@ -1,2 +1,3 @@
APPNAME=zabbix
#RESTART=always
DOCKER_REGISTRY=r.sectorq.eu/library/

View File

@@ -0,0 +1,5 @@
FROM zabbix/zabbix-server-pgsql:alpine-latest
USER root
RUN apk add --no-cache curl
USER zabbix

View File

@@ -48,7 +48,11 @@ services:
extends:
file: logging.yml
service: ${LOGGING:-syslog}
image: ${DOCKER_REGISTRY:-}zabbix/zabbix-server-pgsql:alpine-latest
#image: ${DOCKER_REGISTRY:-}zabbix/zabbix-server-pgsql:alpine-latest
build:
context: .
dockerfile: Dockerfile
image: zabbix-server-custom:latest
volumes:
- /share/docker_data/zabbix-server/server/alertscripts:/usr/lib/zabbix/alertscripts
labels:

View File

@@ -1,6 +1,6 @@
# Zabbix global
# ZBX_DEBUGLEVEL=3
DOCKER_REGISTRY=r.sectorq.eu/library/
# Database
MYSQL_PASSWORD=zabbix
MYSQL_USER=zabbix

View File

@@ -99,7 +99,6 @@ services:
published: 7900
protocol: tcp
mode: ingress
shm_size: 2g
image: ${DOCKER_REGISTRY:-}docker.io/selenium/standalone-chrome:latest
deploy:
labels: