fix user in server docker image

This commit is contained in:
Nikolay Volosatov 2017-02-28 20:12:23 +03:00
parent 5cf6f4d8c1
commit cdd803e2c6
1 changed files with 2 additions and 2 deletions

View File

@ -9,9 +9,9 @@ RUN apt-get update && \
apt-get install --allow-unauthenticated -y clickhouse-server-common && \
rm -rf /var/lib/apt/lists/* /var/cache/
RUN chown -R metrika /etc/clickhouse-server/
RUN chown -R clickhouse /etc/clickhouse-server/
USER metrika
USER clickhouse
EXPOSE 9000 8123 9009
ENV CLICKHOUSE_CONFIG /etc/clickhouse-server/config.xml