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.

run.sh 718B

1234567891011121314151617181920212223242526
  1. #!/bin/bash
  2. ARCH=`arch`
  3. if [ $ARCH == "aarch64" ]
  4. then
  5. ARCH="arm64v8"
  6. else
  7. ARCH="arm32v7"
  8. fi
  9. docker pull registry.lollipopcloud.solutions/arm/riot.im/$ARCH-latest
  10. docker container stop riot.im
  11. docker container rm riot.im
  12. docker run -it --name riot.im \
  13. --restart unless-stopped \
  14. --network docker-private \
  15. -e TZ=UTC \
  16. -e DEBUG=1 \
  17. -l traefik.frontend.rule=Host:riot.domain.tld \
  18. -l traefik.frontend.headers.customRequestHeaders="Access-Control-Allow-Origin:" \
  19. -l traefik.frontend.passHostHeader=true \
  20. -l traefik.port=80 \
  21. -v /var/riot.im/config.riot.domain.tld.json:/var/www/config.riot.domain.tld.json \
  22. registry.lollipopcloud.solutions/arm/riot.im/$ARCH-latest