From 4fc47030db68c78fcb6c4e5ff544efe2bffcdd08 Mon Sep 17 00:00:00 2001 From: radex Date: Fri, 18 Aug 2023 13:00:53 +0200 Subject: [PATCH] docker-compose: build locally --- docker-compose.prod-override.yml | 2 ++ docker-compose.yml | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/docker-compose.prod-override.yml b/docker-compose.prod-override.yml index 1855612..dee95a9 100644 --- a/docker-compose.prod-override.yml +++ b/docker-compose.prod-override.yml @@ -4,3 +4,5 @@ services: db: volumes: - /var/spejstore-data:/var/lib/postgresql/data + web: + image: registry.k0.hswaw.net/palid/spejstore:1689856372 diff --git a/docker-compose.yml b/docker-compose.yml index c4c04b0..5f0919b 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -15,7 +15,7 @@ services: retries: 5 web: - image: registry.k0.hswaw.net/palid/spejstore:1689856372 + build: . 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: