Fix logging in container

This commit is contained in:
ronivay
2018-07-28 19:54:23 +03:00
parent eb0858f501
commit c7c3a5dddd
2 changed files with 9 additions and 5 deletions

View File

@@ -36,6 +36,10 @@ RUN mv /etc/xen-orchestra/packages/xo-server/sample.config.yaml /etc/xen-orchest
# Install forever for starting/stopping Xen-Orchestra
RUN npm install forever -g
# Logging
RUN ln -sf /proc/1/fd/1 /var/log/redis/redis.log
RUN ln -sf /proc/1/fd/1 /var/log/xo-server.log
WORKDIR /etc/xen-orchestra/xo-server
EXPOSE 80