Gitlab / Dockerfile
abcd118q's picture
Update Dockerfile
bccf7da verified
raw
history blame contribute delete
666 Bytes
FROM gitlab/gitlab-ce:latest
ENV GITLAB_OMNIBUS_CONFIG="\
external_url 'http://0.0.0.0:7860'; \
nginx['listen_port'] = 7860; \
nginx['listen_https'] = false; \
nginx['redirect_http_to_https'] = false; \
gitlab_rails['time_zone'] = 'UTC'; \
prometheus_monitoring['enable'] = false; \
alertmanager['enable'] = false; \
node_exporter['enable'] = false; \
redis_exporter['enable'] = false; \
postgres_exporter['enable'] = false; \
gitlab_kas['enable'] = false; \
postgresql['dynamic_shared_memory_type'] = 'mmap'; \
"
EXPOSE 7860
COPY hf-entrypoint.sh /hf-entrypoint.sh
RUN chmod +x /hf-entrypoint.sh
ENTRYPOINT ["/hf-entrypoint.sh"]
CMD [""]