From 1fccbaa693da992ded2dddd9564c72d2f13ea592 Mon Sep 17 00:00:00 2001 From: Marc 'risson' Schmitt Date: Mon, 11 Dec 2023 12:08:48 +0100 Subject: [PATCH] scripts: postgres, redis: only listen on localhost (#7849) Co-authored-by: Jens L --- lifecycle/ak | 2 +- scripts/docker-compose.yml | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/lifecycle/ak b/lifecycle/ak index 2ea6a4f59..941b12594 100755 --- a/lifecycle/ak +++ b/lifecycle/ak @@ -1,4 +1,4 @@ -#!/bin/bash -e +#!/usr/bin/env -S bash -e MODE_FILE="${TMPDIR}/authentik-mode" function log { diff --git a/scripts/docker-compose.yml b/scripts/docker-compose.yml index 46855e3bb..658d7a0db 100644 --- a/scripts/docker-compose.yml +++ b/scripts/docker-compose.yml @@ -1,22 +1,22 @@ -version: '3.7' +version: "3.7" services: postgresql: container_name: postgres - image: library/postgres:12 + image: docker.io/library/postgres:12 volumes: - - db-data:/var/lib/postgresql/data + - db-data:/var/lib/postgresql/data environment: POSTGRES_HOST_AUTH_METHOD: trust POSTGRES_DB: authentik ports: - - 5432:5432 + - 127.0.0.1:5432:5432 restart: always redis: container_name: redis - image: library/redis + image: docker.io/library/redis ports: - - 6379:6379 + - 127.0.0.1:6379:6379 restart: always volumes: