deploy(docker): expose logs directory
This commit is contained in:
@@ -36,6 +36,9 @@ ENV PATH="/app/.venv/bin:${PATH}" \
|
|||||||
COPY --from=builder /app/.venv /app/.venv
|
COPY --from=builder /app/.venv /app/.venv
|
||||||
COPY --from=builder /app /app
|
COPY --from=builder /app /app
|
||||||
|
|
||||||
|
RUN mkdir -p /app/logs
|
||||||
|
VOLUME ["/app/logs"]
|
||||||
|
|
||||||
COPY docker-entrypoint.sh /app/docker-entrypoint.sh
|
COPY docker-entrypoint.sh /app/docker-entrypoint.sh
|
||||||
RUN chmod +x /app/docker-entrypoint.sh
|
RUN chmod +x /app/docker-entrypoint.sh
|
||||||
|
|
||||||
|
|||||||
@@ -36,6 +36,9 @@ ENV PATH="/app/.venv/bin:${PATH}" \
|
|||||||
COPY --from=builder /app/.venv /app/.venv
|
COPY --from=builder /app/.venv /app/.venv
|
||||||
COPY --from=builder /app /app
|
COPY --from=builder /app /app
|
||||||
|
|
||||||
|
RUN mkdir -p /app/logs
|
||||||
|
VOLUME ["/app/logs"]
|
||||||
|
|
||||||
COPY docker-entrypoint.sh /app/docker-entrypoint.sh
|
COPY docker-entrypoint.sh /app/docker-entrypoint.sh
|
||||||
RUN chmod +x /app/docker-entrypoint.sh
|
RUN chmod +x /app/docker-entrypoint.sh
|
||||||
|
|
||||||
|
|||||||
@@ -29,7 +29,9 @@ services:
|
|||||||
condition: service_healthy
|
condition: service_healthy
|
||||||
volumes:
|
volumes:
|
||||||
- ./replays:/app/replays
|
- ./replays:/app/replays
|
||||||
|
- ./storage:/app/storage
|
||||||
- ./static:/app/static
|
- ./static:/app/static
|
||||||
|
- ./logs:/app/logs
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
networks:
|
networks:
|
||||||
- osu-network
|
- osu-network
|
||||||
|
|||||||
@@ -23,7 +23,9 @@ services:
|
|||||||
condition: service_healthy
|
condition: service_healthy
|
||||||
volumes:
|
volumes:
|
||||||
- ./replays:/app/replays
|
- ./replays:/app/replays
|
||||||
|
- ./storage:/app/storage
|
||||||
- ./static:/app/static
|
- ./static:/app/static
|
||||||
|
- ./logs:/app/logs
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
networks:
|
networks:
|
||||||
- osu-network
|
- osu-network
|
||||||
|
|||||||
Reference in New Issue
Block a user