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 /app
|
||||
|
||||
RUN mkdir -p /app/logs
|
||||
VOLUME ["/app/logs"]
|
||||
|
||||
COPY docker-entrypoint.sh /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 /app
|
||||
|
||||
RUN mkdir -p /app/logs
|
||||
VOLUME ["/app/logs"]
|
||||
|
||||
COPY docker-entrypoint.sh /app/docker-entrypoint.sh
|
||||
RUN chmod +x /app/docker-entrypoint.sh
|
||||
|
||||
|
||||
@@ -29,7 +29,9 @@ services:
|
||||
condition: service_healthy
|
||||
volumes:
|
||||
- ./replays:/app/replays
|
||||
- ./storage:/app/storage
|
||||
- ./static:/app/static
|
||||
- ./logs:/app/logs
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
- osu-network
|
||||
|
||||
@@ -23,7 +23,9 @@ services:
|
||||
condition: service_healthy
|
||||
volumes:
|
||||
- ./replays:/app/replays
|
||||
- ./storage:/app/storage
|
||||
- ./static:/app/static
|
||||
- ./logs:/app/logs
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
- osu-network
|
||||
|
||||
Reference in New Issue
Block a user