Compare commits

..

No commits in common. "100773c95815086ae1baa8f9813dabe392feabd8" and "8a86ff9a4ba6141b0ad521c98d00a10501de0509" have entirely different histories.

3 changed files with 3 additions and 6 deletions

View file

@ -24,6 +24,4 @@ jobs:
uses: docker/build-push-action@v6
with:
push: true
tags: |
code.edgarpierre.fr/${{ github.repository }}:${{ github.ref_name }}
code.edgarpierre.fr/${{ github.repository }}:latest
tags: code.edgarpierre.fr/${{ github.repository }}:${{ github.ref_name }}

View file

@ -1,6 +1,6 @@
services:
nummi:
image: code.edgarpierre.fr/edpibu/nummi
image: code.edgarpierre.fr/edpibu/nummi:main
container_name: nummi
restart: unless-stopped
ports:

View file

@ -22,7 +22,6 @@ if CONFIG_PATH is not None:
# Build paths inside the project like this: BASE_DIR / 'subdir'.
MEDIA_CONF = CONFIG.get("media", {})
STATIC_CONF = CONFIG.get("static", {})
BASE_DIR = Path(__file__).resolve().parent.parent
MEDIA_ROOT = Path(MEDIA_CONF.get("root", "/var/lib/nummi"))
MEDIA_URL = "media/"
@ -125,7 +124,7 @@ USE_TZ = True
# https://docs.djangoproject.com/en/4.0/howto/static-files/
STATIC_URL = "static/"
STATIC_ROOT = STATIC_CONF.get("root", "/srv/nummi")
STATIC_ROOT = "/srv/nummi"
LOGIN_URL = "login"
# Default primary key field type