Compare commits
No commits in common. "100773c95815086ae1baa8f9813dabe392feabd8" and "8a86ff9a4ba6141b0ad521c98d00a10501de0509" have entirely different histories.
100773c958
...
8a86ff9a4b
3 changed files with 3 additions and 6 deletions
|
@ -24,6 +24,4 @@ jobs:
|
||||||
uses: docker/build-push-action@v6
|
uses: docker/build-push-action@v6
|
||||||
with:
|
with:
|
||||||
push: true
|
push: true
|
||||||
tags: |
|
tags: code.edgarpierre.fr/${{ github.repository }}:${{ github.ref_name }}
|
||||||
code.edgarpierre.fr/${{ github.repository }}:${{ github.ref_name }}
|
|
||||||
code.edgarpierre.fr/${{ github.repository }}:latest
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
services:
|
services:
|
||||||
nummi:
|
nummi:
|
||||||
image: code.edgarpierre.fr/edpibu/nummi
|
image: code.edgarpierre.fr/edpibu/nummi:main
|
||||||
container_name: nummi
|
container_name: nummi
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
ports:
|
ports:
|
||||||
|
|
|
@ -22,7 +22,6 @@ if CONFIG_PATH is not None:
|
||||||
|
|
||||||
# Build paths inside the project like this: BASE_DIR / 'subdir'.
|
# Build paths inside the project like this: BASE_DIR / 'subdir'.
|
||||||
MEDIA_CONF = CONFIG.get("media", {})
|
MEDIA_CONF = CONFIG.get("media", {})
|
||||||
STATIC_CONF = CONFIG.get("static", {})
|
|
||||||
BASE_DIR = Path(__file__).resolve().parent.parent
|
BASE_DIR = Path(__file__).resolve().parent.parent
|
||||||
MEDIA_ROOT = Path(MEDIA_CONF.get("root", "/var/lib/nummi"))
|
MEDIA_ROOT = Path(MEDIA_CONF.get("root", "/var/lib/nummi"))
|
||||||
MEDIA_URL = "media/"
|
MEDIA_URL = "media/"
|
||||||
|
@ -125,7 +124,7 @@ USE_TZ = True
|
||||||
# https://docs.djangoproject.com/en/4.0/howto/static-files/
|
# https://docs.djangoproject.com/en/4.0/howto/static-files/
|
||||||
|
|
||||||
STATIC_URL = "static/"
|
STATIC_URL = "static/"
|
||||||
STATIC_ROOT = STATIC_CONF.get("root", "/srv/nummi")
|
STATIC_ROOT = "/srv/nummi"
|
||||||
LOGIN_URL = "login"
|
LOGIN_URL = "login"
|
||||||
|
|
||||||
# Default primary key field type
|
# Default primary key field type
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue