1
0
Fork 0
mirror of https://github.com/seanmorley15/AdventureLog.git synced 2025-07-23 06:49:37 +02:00

chore: Update docker-compose.yml with S3 and Minio configuration

This commit is contained in:
Sean Morley 2024-06-10 01:21:58 +00:00
parent b660dcad08
commit dfe103e880

View file

@ -7,13 +7,15 @@ services:
- DATABASE_URL=postgres://adventurelog:PO24VjITwGgk@db:5432/adventurelog - DATABASE_URL=postgres://adventurelog:PO24VjITwGgk@db:5432/adventurelog
# ORIGIN is only necessary when not using a reverse proxy or hosting that includes https # ORIGIN is only necessary when not using a reverse proxy or hosting that includes https
- ORIGIN=http://localhost:3000 - ORIGIN=http://localhost:3000
# SKIP_DB_WAIT: Only necessary for externally hosted databases such as NeonDB which have their own health checks!
- SKIP_DB_WAIT=false - SKIP_DB_WAIT=false
- AWS_ACCESS_KEY_ID=minioadmin - AWS_ACCESS_KEY_ID=minioadmin
- AWS_SECRET_ACCESS_KEY=minioadmin - AWS_SECRET_ACCESS_KEY=minioadmin
- AWS_S3_ENDPOINT=http://minio:9000 - AWS_S3_ENDPOINT=http://minio:9000
# MINIO_CLIENT_OVERRIDE: Only necessary if using minio here with this docker compose file. This is becaues the client needs a different endpoint than the server because its not in the docker network.
- MINIO_CLIENT_OVERRIDE=http://localhost:9000 - MINIO_CLIENT_OVERRIDE=http://localhost:9000
- BODY_SIZE_LIMIT=Infinity - BODY_SIZE_LIMIT=Infinity # change this to a smaller value if you want to limit the size of uploaded files!
# Only necessary for externally hosted databases such as NeonDB
depends_on: depends_on:
- db - db
- minio - minio