docker-entrypoint.sh 245 B

123456789
  1. #!/usr/bin/env bash
  2. if [ "$DB_CLUSTER" ]; then
  3. sed -i '"s/192.168.201.12:27017"/\$\{DB_CLUSTER\}/' /etc/web-laboratory-admin/application.conf
  4. fi
  5. sed -i "s/192\.168\.201\.13/0\.0\.0\.0/" /etc/web-laboratory-admin/application.conf
  6. exec "$@"