From da67dae99b4e15f76a126ca33bf30347d86c03d6 Mon Sep 17 00:00:00 2001 From: LRVT <21357789+l4rm4nd@users.noreply.github.com> Date: Tue, 1 Oct 2024 10:22:38 +0200 Subject: [PATCH] update image tags; pin psql --- examples/docuseal/docker-compose.yml | 2 +- examples/evershop/docker-compose.yml | 2 +- examples/hedgedoc/docker-compose.yml | 2 +- examples/librephotos/docker-compose.yml | 2 +- examples/paperless-ngx/docker-compose.yml | 2 +- examples/papermerge/docker-compose.yml | 2 +- examples/raveberry/docker-compose.yml | 2 +- examples/rxresume/docker-compose-v3.yml | 2 +- examples/sonarqube/docker-compose.yml | 4 +-- examples/tandoor/docker-compose.yml | 2 +- examples/wikijs/docker-compose.yml | 40 ++++++++++++++++++++--- 11 files changed, 46 insertions(+), 16 deletions(-) diff --git a/examples/docuseal/docker-compose.yml b/examples/docuseal/docker-compose.yml index 46c61d6..bfcba6a 100644 --- a/examples/docuseal/docker-compose.yml +++ b/examples/docuseal/docker-compose.yml @@ -28,7 +28,7 @@ services: # - traefik.http.routers.docuseal.middlewares=local-ipwhitelist@file,authelia@docker postgres: - image: postgres:15-alpine + image: postgres:16-alpine container_name: docuseal-db restart: unless-stopped environment: diff --git a/examples/evershop/docker-compose.yml b/examples/evershop/docker-compose.yml index ca4eabe..e98da31 100644 --- a/examples/evershop/docker-compose.yml +++ b/examples/evershop/docker-compose.yml @@ -29,7 +29,7 @@ services: # - traefik.http.routers.evershop.middlewares=local-ipwhitelist@file,authelia@docker database: - image: postgres:16 + image: postgres:16-alpine container_name: evershop-db restart: unless-stopped volumes: diff --git a/examples/hedgedoc/docker-compose.yml b/examples/hedgedoc/docker-compose.yml index ae70909..b46345e 100644 --- a/examples/hedgedoc/docker-compose.yml +++ b/examples/hedgedoc/docker-compose.yml @@ -3,7 +3,7 @@ version: '3' services: database: - image: postgres:13.4-alpine + image: postgres:16-alpine container_name: hedgedoc-db environment: - POSTGRES_USER=hedgedoc diff --git a/examples/librephotos/docker-compose.yml b/examples/librephotos/docker-compose.yml index 7f08722..d474295 100644 --- a/examples/librephotos/docker-compose.yml +++ b/examples/librephotos/docker-compose.yml @@ -23,7 +23,7 @@ services: - frontend db: - image: postgres:13 + image: postgres:16-alpine container_name: librephotos-db restart: unless-stopped environment: diff --git a/examples/paperless-ngx/docker-compose.yml b/examples/paperless-ngx/docker-compose.yml index 242db67..a1cbefd 100644 --- a/examples/paperless-ngx/docker-compose.yml +++ b/examples/paperless-ngx/docker-compose.yml @@ -11,7 +11,7 @@ services: # - proxy db: - image: docker.io/library/postgres:13 + image: docker.io/library/postgres:16-alpine container_name: paperless-ngx-db restart: unless-stopped volumes: diff --git a/examples/papermerge/docker-compose.yml b/examples/papermerge/docker-compose.yml index 39b36ec..a2f21e6 100644 --- a/examples/papermerge/docker-compose.yml +++ b/examples/papermerge/docker-compose.yml @@ -39,7 +39,7 @@ services: # - traefik.http.routers.papermerge.middlewares=local-ipwhitelist@file,authelia@docker db: - image: postgres:12.3-alpine + image: postgres:16-alpine container_name: papermerge-db restart: unless-stopped expose: diff --git a/examples/raveberry/docker-compose.yml b/examples/raveberry/docker-compose.yml index a74c4bb..e410a19 100644 --- a/examples/raveberry/docker-compose.yml +++ b/examples/raveberry/docker-compose.yml @@ -2,7 +2,7 @@ version: '3' services: db: - image: postgres:13 + image: postgres:16-alpine container_name: raveberry-db environment: - POSTGRES_DB=raveberry diff --git a/examples/rxresume/docker-compose-v3.yml b/examples/rxresume/docker-compose-v3.yml index 9d6ee63..2d2cb40 100644 --- a/examples/rxresume/docker-compose-v3.yml +++ b/examples/rxresume/docker-compose-v3.yml @@ -23,7 +23,7 @@ version: "3.8" services: postgres: - image: postgres:alpine + image: postgres:16-alpine container_name: rxresume-db restart: always expose: diff --git a/examples/sonarqube/docker-compose.yml b/examples/sonarqube/docker-compose.yml index 4ee7923..29b0f86 100644 --- a/examples/sonarqube/docker-compose.yml +++ b/examples/sonarqube/docker-compose.yml @@ -2,7 +2,7 @@ version: "3" services: sonarqube: - image: sonarqube:8.5.1-community + image: sonarqube:lts-community container_name: sonarqube ports: - 9000:9000 # WEB UI @@ -16,7 +16,7 @@ services: - ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/sonarqube/extensions:/opt/sonarqube/extensions db: - image: postgres:13.1 + image: postgres:16-alpine container_name: sonarqube_db hostname: db environment: diff --git a/examples/tandoor/docker-compose.yml b/examples/tandoor/docker-compose.yml index 60209d7..1747f0a 100644 --- a/examples/tandoor/docker-compose.yml +++ b/examples/tandoor/docker-compose.yml @@ -3,7 +3,7 @@ services: db_recipes: restart: always container_name: tandoor_db - image: postgres:11-alpine + image: postgres:16-alpine volumes: - ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/tandoor/postgresql:/var/lib/postgresql/data env_file: diff --git a/examples/wikijs/docker-compose.yml b/examples/wikijs/docker-compose.yml index 031ff90..2357153 100644 --- a/examples/wikijs/docker-compose.yml +++ b/examples/wikijs/docker-compose.yml @@ -2,13 +2,21 @@ version: "3" services: wikijs: + image: linuxserver/wikijs:latest + container_name: wikijs + restart: unless-stopped environment: - PUID=1000 - PGID=1000 - TZ=Europe/Berlin - image: linuxserver/wikijs:latest - container_name: wikijs - restart: unless-stopped + - DB_TYPE=postgres + - DB_HOST=db + - DB_PORT=5432 + - DB_NAME=wikijs + - DB_USER=wikijs + - DB_PASS=MySecureDatabasePassword + expose: + - 3000 ports: - 8888:3000 # WEB UI volumes: @@ -16,14 +24,36 @@ services: - ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/wikijs/data:/data links: - db + #networks: + # - proxy + #labels: + # - traefik.enable=true + # - traefik.docker.network=proxy + # - traefik.http.routers.wikijs.rule=Host(`wikijs.example.com`) + # - traefik.http.services.wikijs.loadbalancer.server.port=3000 + # # Optional part for file upload max sizes + # - traefik.http.middlewares.limit.buffering.maxRequestBodyBytes=50000000 + # - traefik.http.middlewares.limit.buffering.maxResponseBodyBytes=50000000 + # - traefik.http.middlewares.limit.buffering.memRequestBodyBytes=50000000 + # - traefik.http.middlewares.limit.buffering.memResponseBodyBytes=50000000 + # # Optional part for traefik middlewares + # - traefik.http.routers.wikijs.middlewares=local-ipwhitelist@file db: + image: postgres:16-alpine + container_name: postgresql environment: - POSTGRES_PASSWORD=MySecureDatabasePassword - POSTGRES_USER=wikijs - POSTGRES_DB=wikijs - container_name: postgresql - image: postgres:13.4-bullseye + expose: + - 5432 restart: unless-stopped volumes: - ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/wikijs/database:/var/lib/postgresql/data + #networks: + # - proxy + +#networks: +# proxy: +# external: true \ No newline at end of file