You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
RUN mkdir -p /var/log/shock /usr/local/shock/data /etc/shock.d /test-output && \
chmod 777 /test-output
# Copy source code (uses vendored dependencies via -mod=vendor)
COPY . ${DIR}
# Create test configuration
RUN echo '{"address":"0.0.0.0:7445","auth":{"basic":true},"mongodb":{"hosts":["shock-mongo-test"],"database":"shock_test"},"paths":{"data":"/var/log/shock/data","logs":"/var/log/shock","site":"/usr/local/shock/site"},"ssl":{"enable":false},"admin_users":["test_admin"]}' > /etc/shock.d/shock-server.conf