This commit is contained in:
el 2025-03-20 11:11:19 +01:00
parent 14456d0a66
commit a9208adf5a
8 changed files with 131 additions and 0 deletions

17
diun/compose.yml Normal file
View file

@ -0,0 +1,17 @@
services:
diun:
image: crazymax/diun:latest
container_name: diun
command: serve
volumes:
- ./data:/data
- ./diun.yml:/diun.yml:ro
- /var/run/docker.sock:/var/run/docker.sock
environment:
- TZ=Europe/Paris
- DIUN_PROVIDERS_DOCKER=true
- PUID=XXXX
- PGID=XXXX
labels:
- diun.enable=true
restart: always

14
diun/diun.yml Normal file
View file

@ -0,0 +1,14 @@
notif:
gotify:
endpoint: # URl du notifieur (ex: gotify)
token: # Token pour gotify à prendre sur l'application gotify si utilisation de gotify
priority: 1
timeout: 10s
templateTitle: "{{ .Entry.Image }}"
templateBody: |
Sur XXXX le container {{ .Entry.Image }} doit être mise à jour {{ .Entry.Provider }}.
watch:
workers: 30
schedule: "0 19,23 * * *"
jitter: 30s

21
dozzle/agent-compose.yml Normal file
View file

@ -0,0 +1,21 @@
services:
dozzle-agent:
image: amir20/dozzle:latest
container_name: dozzle_agent
environment:
- PGID=XXXX
- PUID=XXXX
- DOZZLE_HOSTNAME=my-special-name
command: agent
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro
ports:
- 7007:7007
labels:
- diun.enable=true
healthcheck:
test: ["CMD", "/dozzle", "healthcheck"]
interval: 5s
retries: 5
start_period: 5s
start_interval: 5s

23
dozzle/compose.yml Normal file
View file

@ -0,0 +1,23 @@
services:
dozzle:
container_name: dozzle
image: amir20/dozzle:latest
environment:
- DOZZLE_REMOTE_AGENT=agent.ip:7007
- PGID=XXXX
- PUID=XXXX
- DOZZLE_HOSTNAME=my-special-name
volumes:
- /var/run/docker.sock:/var/run/docker.sock
ports:
- 8888:8080
healthcheck:
test: ["CMD", "/dozzle", "healthcheck"]
interval: 5s
retries: 5
start_period: 5s
start_interval: 5s
deploy:
mode: global
labels:
- diun.enable=true

4
mariadb/.env Normal file
View file

@ -0,0 +1,4 @@
MYSQL_ROOT_PASSWORD=# "pwgen 72" pour generer un mots de passe root
PUID=XXXX
PGID=XXXX
TZ=Europe/Paris

17
mariadb/compose.yml Normal file
View file

@ -0,0 +1,17 @@
services:
db:
image: lscr.io/linuxserver/mariadb:latest
container_name: mariadb
hostname: mariadb
restart: no
networks:
- mariadb
env_file:
- ./.env
volumes:
- ./data/mariadb/config:/config
labels:
- diun.enable=true
networks:
mariadb:
external: true

11
vikunja/.env Normal file
View file

@ -0,0 +1,11 @@
VIKUNJA_SERVICE_PUBLICURL= https://urldusite.fr
VIKUNJA_DATABASE_HOST=db
VIKUNJA_DATABASE_PASSWORD=<un super PASSWORD>
VIKUNJA_DATABASE_TYPE=mysql
VIKUNJA_DATABASE_USER=vikunja
VIKUNJA_DATABASE_DATABASE=vikunja
VIKUNJA_SERVICE_JWTSECRET=<un jeton super long>
MYSQL_ROOT_PASSWORD=<un super PASSWORD>
MYSQL_USER=vikunja
MYSQL_PASSWORD=<un super PASSWORD>
MYSQL_DATABASE=vikunja

24
vikunja/compose.yml Normal file
View file

@ -0,0 +1,24 @@
services:
vikunja:
container_name: vikunja
image: vikunja/vikunja
env_file:
- ./.env
ports:
- 3456:3456
volumes:
- ./files:/app/vikunja/files
labels:
- diun.enable=true
restart: unless-stopped
db:
image: mariadb:10
container_name: mariadb_vikunja
command: --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci
env_file:
- ./.env
volumes:
- ./db:/var/lib/mysql
restart: unless-stopped
labels:
- diun.enable=true