docker-compose: build locally

This commit is contained in:
radex 2023-08-18 13:00:53 +02:00
parent ce3f07de5f
commit 4fc47030db
2 changed files with 3 additions and 1 deletions

View File

@ -4,3 +4,5 @@ services:
db:
volumes:
- /var/spejstore-data:/var/lib/postgresql/data
web:
image: registry.k0.hswaw.net/palid/spejstore:1689856372

View File

@ -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: