fix issue, dockerfile was using a cached image
Some checks failed
Gitea build & run. / docker (push) Failing after 3s

This commit is contained in:
vps - Wouter
2026-03-08 11:47:41 +00:00
parent 6511120965
commit c9eb6d52be
3 changed files with 9 additions and 4 deletions

View File

@@ -1,6 +1,7 @@
services:
web:
build: .
command: gunicorn --proxy-protocol auto --proxy-allow-from 10.10.50.11 website.wsgi:application
depends_on:
- db
ports:
@@ -9,8 +10,7 @@ services:
PYTHONDONTWRITEBYTECODE: 1
PYTHONUNBUFFERED: 1
DJANGO_SETTINGS_MODULE: ${DJANGO_SETTINGS_MODULE}
env_file:
.env
env_file: ".env"
restart: unless-stopped
db:
@@ -21,6 +21,7 @@ services:
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
volumes:
- postgres_data:/var/lib/postgresql
env_file: ".env"
restart: unless-stopped
adminer: