You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
492 B

  1. #!/bin/bash
  2. # Scripts in this directory will be executed by cloud-init on the first boot of droplets
  3. # created from your image. Things ike generating passwords, configuration requiring IP address
  4. # or other items that will be unique to each instance should be done in scripts here.
  5. openssl rand -base64 32 > /etc/wiki/.db-secret
  6. if [[ -z $DATABASE_URL ]]; then
  7. docker start db
  8. fi
  9. docker start wiki
  10. docker start wiki-update-companion
  11. # docker start nginx-proxy
  12. # docker start watchtower