mirror of
https://github.com/viq/NewsBlur.git
synced 2025-11-01 09:09:16 +00:00
change env var name
This commit is contained in:
parent
db1e09a822
commit
65bcb5e9e1
2 changed files with 4 additions and 4 deletions
6
Makefile
6
Makefile
|
|
@ -6,10 +6,10 @@ CURRENT_GID := $(shell id -g)
|
|||
|
||||
#creates newsblur, but does not rebuild images or create keys
|
||||
start:
|
||||
- MAKEBUILD=True CURRENT_UID=${CURRENT_UID} CURRENT_GID=${CURRENT_GID} docker-compose up -d
|
||||
- RUNWITHMAKEBUILD=True CURRENT_UID=${CURRENT_UID} CURRENT_GID=${CURRENT_GID} docker-compose up -d
|
||||
|
||||
metrics:
|
||||
- MAKEBUILD=True CURRENT_UID=${CURRENT_UID} CURRENT_GID=${CURRENT_GID} docker-compose -f docker-compose.yml -f docker-compose.metrics.yml up -d
|
||||
- RUNWITHMAKEBUILD=True CURRENT_UID=${CURRENT_UID} CURRENT_GID=${CURRENT_GID} docker-compose -f docker-compose.yml -f docker-compose.metrics.yml up -d
|
||||
|
||||
metrics-ps:
|
||||
- docker-compose -f docker-compose.yml -f docker-compose.metrics.yml ps
|
||||
|
|
@ -23,7 +23,7 @@ nb: pull
|
|||
- CURRENT_UID=${CURRENT_UID} CURRENT_GID=${CURRENT_GID} docker-compose down
|
||||
- [[ -d config/certificates ]] && echo "keys exist" || make keys
|
||||
- cd node && npm install & cd ..
|
||||
- MAKEBUILD=True CURRENT_UID=${CURRENT_UID} CURRENT_GID=${CURRENT_GID} docker-compose up -d --build --remove-orphans
|
||||
- RUNWITHMAKEBUILD=True CURRENT_UID=${CURRENT_UID} CURRENT_GID=${CURRENT_GID} docker-compose up -d --build --remove-orphans
|
||||
- docker-compose exec newsblur_web ./manage.py migrate
|
||||
- docker-compose exec newsblur_web ./manage.py loaddata config/fixtures/bootstrap.json
|
||||
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ services:
|
|||
image: newsblur/newsblur_${NEWSBLUR_BASE:-python3}:latest
|
||||
environment:
|
||||
- DOCKERBUILD=True
|
||||
- ${MAKEBUILD:?use the `make` command instead of docker CLI}
|
||||
- RUNWITHMAKEBUILD=${RUNWITHMAKEBUILD?use the `make` command instead of docker CLI}
|
||||
stdin_open: true
|
||||
tty: true
|
||||
restart: unless-stopped
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue