Compare commits

..

No commits in common. "2ad061584ab2ad671dfbe5c72872e01c311ebfca" and "8506d221c085275234ee11fdf740f38ba36fe300" have entirely different histories.

4 changed files with 3 additions and 4 deletions

View File

@ -12,7 +12,6 @@ COPY pyproject.toml /app
RUN poetry export --without-hashes -f requirements.txt | pip install -r /dev/stdin RUN poetry export --without-hashes -f requirements.txt | pip install -r /dev/stdin
# Add remaining files # Add remaining files
COPY app.py . COPY . /app/
COPY chalicelib/ .
CMD ["gunicorn" , "-b", "0.0.0.0:8000", "app:app"] CMD ["gunicorn" , "-b", "0.0.0.0:8000", "app:app"]

View File

@ -11,7 +11,7 @@
"s3:GetObject" "s3:GetObject"
], ],
"Resource": [ "Resource": [
"arn:aws:s3::treadl/*" "arn:aws:s3::treadl-files/*"
] ]
} }
] ]

View File

@ -8,7 +8,7 @@ export MONGO_DATABASE="treadl"
export JWT_SECRET="devsecret" export JWT_SECRET="devsecret"
export GOOGLE_APPLICATION_CREDENTIALS="chalicelib/firebase.json" export GOOGLE_APPLICATION_CREDENTIALS="chalicelib/firebase.json"
export AWS_S3_ENDPOINT="https://eu-central-1.linodeobjects.com/" export AWS_S3_ENDPOINT="https://eu-central-1.linodeobjects.com/"
export AWS_S3_BUCKET="treadl" export AWS_S3_BUCKET="treadl-files"
export AWS_ACCESS_KEY_ID="" export AWS_ACCESS_KEY_ID=""
export AWS_SECRET_ACCESS_KEY="" export AWS_SECRET_ACCESS_KEY=""
export CONTACT_EMAIL="hello@treadl.com" export CONTACT_EMAIL="hello@treadl.com"

Binary file not shown.