This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| version: "3.7" | |
| services: | |
| # Nginx Reverse Proxy | |
| # This is not needed, but I want to build a config with this at some | |
| # stage to forward based on sub-domain | |
| nginx: | |
| image: nginx:latest | |
| container_name: nginx_reverse_proxy |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from rclone_python import rclone, remote_types | |
| def create_if_not_exists(): | |
| rclone.create_remote( | |
| "s3-local", | |
| remote_type=remote_types.RemoteTypes.s3, | |
| access_key_id="access", | |
| secret_access_key="secretkey", | |
| region="eu-west-1", | |
| endpoint="http://localhost:9000", # Only needed for minio |