diff --git a/diun/compose.yml b/diun/compose.yml new file mode 100644 index 0000000..eff5033 --- /dev/null +++ b/diun/compose.yml @@ -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 \ No newline at end of file diff --git a/diun/diun.yml b/diun/diun.yml new file mode 100644 index 0000000..c9f70c5 --- /dev/null +++ b/diun/diun.yml @@ -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 \ No newline at end of file diff --git a/dozzle/agent-compose.yml b/dozzle/agent-compose.yml new file mode 100644 index 0000000..d9313ab --- /dev/null +++ b/dozzle/agent-compose.yml @@ -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 \ No newline at end of file diff --git a/dozzle/compose.yml b/dozzle/compose.yml new file mode 100644 index 0000000..dff75fd --- /dev/null +++ b/dozzle/compose.yml @@ -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 \ No newline at end of file diff --git a/mariadb/.env b/mariadb/.env new file mode 100644 index 0000000..a51c2f8 --- /dev/null +++ b/mariadb/.env @@ -0,0 +1,4 @@ +MYSQL_ROOT_PASSWORD=# "pwgen 72" pour generer un mots de passe root +PUID=XXXX +PGID=XXXX +TZ=Europe/Paris \ No newline at end of file diff --git a/mariadb/compose.yml b/mariadb/compose.yml new file mode 100644 index 0000000..8dcd01b --- /dev/null +++ b/mariadb/compose.yml @@ -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 diff --git a/vikunja/.env b/vikunja/.env new file mode 100644 index 0000000..9c2d001 --- /dev/null +++ b/vikunja/.env @@ -0,0 +1,11 @@ +VIKUNJA_SERVICE_PUBLICURL= https://urldusite.fr +VIKUNJA_DATABASE_HOST=db +VIKUNJA_DATABASE_PASSWORD= +VIKUNJA_DATABASE_TYPE=mysql +VIKUNJA_DATABASE_USER=vikunja +VIKUNJA_DATABASE_DATABASE=vikunja +VIKUNJA_SERVICE_JWTSECRET= +MYSQL_ROOT_PASSWORD= +MYSQL_USER=vikunja +MYSQL_PASSWORD= +MYSQL_DATABASE=vikunja \ No newline at end of file diff --git a/vikunja/compose.yml b/vikunja/compose.yml new file mode 100644 index 0000000..6763a70 --- /dev/null +++ b/vikunja/compose.yml @@ -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 \ No newline at end of file