From d026e41ac50f34591a4f78d94f5da0597fcf7119 Mon Sep 17 00:00:00 2001 From: Dariusz Niemczyk Date: Mon, 17 Jul 2023 23:08:24 +0200 Subject: [PATCH] Update docker-compose setup --- docker-compose.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 2598928..b2e95e6 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,13 +1,15 @@ version: "3" services: db: - build: postgres-hstore + image: postgres:15.3-alpine restart: always environment: - - POSTGRES_HOST_AUTH_METHOD=trust + - POSTGRES_USER=postgres + - POSTGRES_PASSWORD=postgres + - POSTGRES_DB=postgres web: - build: . + image: registry.k0.hswaw.net/palid/spejstore:1689628039 restart: always command: bash -c "python manage.py migrate && gunicorn -b 0.0.0.0:8000 --capture-output --error-logfile - --access-logfile - spejstore.wsgi:application" volumes: