containers.sh 574 B

12345678910111213141516171819
  1. gitlabce_service_dockerbunker() {
  2. echo -en "Starting up '${PROPER_NAME}' container"
  3. docker run -d \
  4. --hostname ${SERVICE_DOMAIN} \
  5. --sysctl net.core.somaxconn=1024 \
  6. --ulimit sigpending=62793 \
  7. --ulimit nproc=131072 \
  8. --ulimit nofile=60000 \
  9. --ulimit core=0 \
  10. --name=${FUNCNAME[0]//_/-} \
  11. --restart=always \
  12. --network ${NETWORK} \
  13. --env-file ${SERVICE_ENV} \
  14. -v ${SERVICE_NAME}-conf-vol-1:/etc/gitlab \
  15. -v ${SERVICE_NAME}-data-vol-1:/etc/opt/gitlab \
  16. -v ${SERVICE_NAME}-log-vol-1:/var/log/gitlab \
  17. ${IMAGES[service]} >/dev/null
  18. exit_response
  19. }