Set POLICIES_DIR for greenwave.
This commit is contained in:
parent
7b24108876
commit
45fd94c99c
2 changed files with 3 additions and 0 deletions
|
@ -21,6 +21,8 @@ spec:
|
||||||
python2-flask
|
python2-flask
|
||||||
RUN git clone https://pagure.io/greenwave.git /srv/greenwave
|
RUN git clone https://pagure.io/greenwave.git /srv/greenwave
|
||||||
RUN ln -s /etc/greenwave/settings.py /srv/greenwave/conf/settings.py
|
RUN ln -s /etc/greenwave/settings.py /srv/greenwave/conf/settings.py
|
||||||
|
RUN mkdir /etc/greenwave/policies/
|
||||||
|
RUN ln -s /srv/greenwave/conf/policies/fedora.yaml /etc/greenwave/policies/fedora.yaml
|
||||||
WORKDIR /srv/greenwave
|
WORKDIR /srv/greenwave
|
||||||
EXPOSE 8080
|
EXPOSE 8080
|
||||||
ENTRYPOINT gunicorn --bind 0.0.0.0:8080 --access-logfile=- greenwave.wsgi:app
|
ENTRYPOINT gunicorn --bind 0.0.0.0:8080 --access-logfile=- greenwave.wsgi:app
|
||||||
|
|
|
@ -11,3 +11,4 @@ data:
|
||||||
PORT = 8080
|
PORT = 8080
|
||||||
WAIVERDB_API_URL = 'https://waiverdb-stg-web-waiverdb.app.os.stg.fedoraproject.org/api/v1.0'
|
WAIVERDB_API_URL = 'https://waiverdb-stg-web-waiverdb.app.os.stg.fedoraproject.org/api/v1.0'
|
||||||
DEBUG = False
|
DEBUG = False
|
||||||
|
POLICIES_DIR = /etc/greenwave/policies/
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue