mirror of
https://github.com/tubearchivist/tubearchivist
synced 2024-11-04 12:00:21 +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
|
RUN pip install --no-cache-dir -r requirements.txt --src /usr/local/src
|
||||||
|
|
||||||
# copy config files
|
# copy config files
|
||||||
COPY nginx.conf /etc/nginx/conf.d/
|
COPY docker_assets/nginx.conf /etc/nginx/conf.d/
|
||||||
|
|
||||||
# copy application into container
|
# copy application into container
|
||||||
COPY ./tubearchivist /app
|
COPY ./tubearchivist /app
|
||||||
COPY ./run.sh /app
|
COPY ./docker_assets/run.sh /app
|
||||||
COPY ./uwsgi.ini /app
|
COPY ./docker_assets/uwsgi.ini /app
|
||||||
|
|
||||||
# volumes
|
# volumes
|
||||||
VOLUME /cache
|
VOLUME /cache
|
||||||
|
@ -2,9 +2,9 @@
|
|||||||
# startup script inside the container for tubearchivist
|
# startup script inside the container for tubearchivist
|
||||||
|
|
||||||
# check environment
|
# check environment
|
||||||
if [[ -z "$DJANGO_DEBUG" ]]; then
|
# if [[ -z "$DJANGO_DEBUG" ]]; then
|
||||||
export DJANGO_DEBUG=False
|
# export DJANGO_DEBUG=False
|
||||||
fi
|
# fi
|
||||||
|
|
||||||
if [[ -z "$ELASTIC_USER" ]]; then
|
if [[ -z "$ELASTIC_USER" ]]; then
|
||||||
export ELASTIC_USER=elastic
|
export ELASTIC_USER=elastic
|
Loading…
Reference in New Issue
Block a user