mirror of
https://github.com/tubearchivist/tubearchivist-frontend.git
synced 2024-11-24 20:50:14 +00:00
organize docker conf files
This commit is contained in:
parent
b6f9fb58ad
commit
2eea07c85e
@ -35,12 +35,12 @@ COPY ./tubearchivist/requirements.txt /requirements.txt
|
||||
RUN pip install --no-cache-dir -r requirements.txt --src /usr/local/src
|
||||
|
||||
# copy config files
|
||||
COPY nginx.conf /etc/nginx/conf.d/
|
||||
COPY docker_assets/nginx.conf /etc/nginx/conf.d/
|
||||
|
||||
# copy application into container
|
||||
COPY ./tubearchivist /app
|
||||
COPY ./run.sh /app
|
||||
COPY ./uwsgi.ini /app
|
||||
COPY ./docker_assets/run.sh /app
|
||||
COPY ./docker_assets/uwsgi.ini /app
|
||||
|
||||
# volumes
|
||||
VOLUME /cache
|
||||
|
@ -2,9 +2,9 @@
|
||||
# startup script inside the container for tubearchivist
|
||||
|
||||
# check environment
|
||||
if [[ -z "$DJANGO_DEBUG" ]]; then
|
||||
export DJANGO_DEBUG=False
|
||||
fi
|
||||
# if [[ -z "$DJANGO_DEBUG" ]]; then
|
||||
# export DJANGO_DEBUG=False
|
||||
# fi
|
||||
|
||||
if [[ -z "$ELASTIC_USER" ]]; then
|
||||
export ELASTIC_USER=elastic
|
Loading…
Reference in New Issue
Block a user