From a6ffb077c4d3d8b540f6d7d22eef3464a9acfb51 Mon Sep 17 00:00:00 2001 From: qbart Date: Sat, 4 Feb 2023 20:56:26 +0100 Subject: [PATCH] Remove restart from compose --- docker-compose.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 13e891e..0183af6 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -3,20 +3,18 @@ version: '3' services: pg: image: postgres:12.3-alpine - restart: always ports: - 5432:5432 environment: POSTGRES_PASSWORD: secret POSTGRES_USER: krab POSTGRES_DB: krab - + pgweb: container_name: pgweb - restart: always image: sosedoff/pgweb - ports: - - "8081:8081" + ports: + - "8081:8081" environment: - DATABASE_URL=postgres://krab:secret@pg:5432/krab?sslmode=disable depends_on: