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.

28 lines
670 B

  1. FROM webdevops/go-crond:master-alpine
  2. LABEL maintainer="Johannes Schickling <schickling.j@gmail.com>"
  3. ADD install.sh install.sh
  4. RUN sh install.sh && rm install.sh
  5. ENV POSTGRES_DATABASE **None**
  6. ENV POSTGRES_BACKUP_ALL **None**
  7. ENV POSTGRES_HOST **None**
  8. ENV POSTGRES_PORT 5432
  9. ENV POSTGRES_USER **None**
  10. ENV POSTGRES_PASSWORD **None**
  11. ENV POSTGRES_EXTRA_OPTS ''
  12. ENV S3_ACCESS_KEY_ID **None**
  13. ENV S3_SECRET_ACCESS_KEY **None**
  14. ENV S3_BUCKET **None**
  15. ENV S3_REGION us-west-1
  16. ENV S3_PATH 'backup'
  17. ENV S3_ENDPOINT **None**
  18. ENV S3_S3V4 no
  19. ENV SCHEDULE **None**
  20. ENV ENCRYPTION_PASSWORD **None**
  21. ADD run.sh run.sh
  22. ADD backup.sh backup.sh
  23. ENTRYPOINT []
  24. CMD ["sh", "run.sh"]